OSSP CVS Repository

ossp - Difference in ossp-pkg/petidomo/acl.y versions 1.6 and 1.7
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/petidomo/acl.y 1.6 -> 1.7

--- acl.y        2001/01/10 17:07:19     1.6
+++ acl.y        2001/01/16 10:49:08     1.7
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/acl.y,v $
-   $Revision: 1.6 $
+   $Revision: 1.7 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -45,7 +45,7 @@
 %}
 %token TOK_IF TOK_EQUAL TOK_EQUAL TOK_FROM TOK_SUBJECT
 %token TOK_ENVELOPE TOK_HEADER TOK_BODY TOK_AND TOK_OR TOK_NOT
-%token TOK_THEN TOK_MATCH TOK_STRING TOK_DROP TOK_PASS
+%token TOK_THEN TOK_MATCH TOK_STRING TOK_DROP TOK_PASS TOK_APPROVE
 %token TOK_REDIRECT TOK_FORWARD TOK_REJECT TOK_REJECTWITH
 %token TOK_FILTER
 %left TOK_AND
@@ -97,6 +97,7 @@
 ;
 
 action:   TOK_PASS                        { $$ = ACL_PASS; }
+        | TOK_APPROVE                     { $$ = ACL_APPROVE; }
         | TOK_DROP                        { $$ = ACL_DROP; }
         | TOK_REJECT                      { $$ = ACL_REJECT; }
         | TOK_REJECTWITH TOK_STRING       {

CVSTrac 2.0.1