1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Added PASSIVE option to paswwords.

This commit is contained in:
Pavel Machek
1999-05-31 17:12:00 +00:00
parent 139ca21d05
commit 900d5470ae
3 changed files with 36 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ CF_DECLS
CF_KEYWORDS(ROUTER, ID, PROTOCOL, PREFERENCE, DISABLED, DEBUG, ALL, OFF, DIRECT)
CF_KEYWORDS(INTERFACE, IMPORT, EXPORT, FILTER, NONE, TABLE)
CF_KEYWORDS(PASSWORD, FROM, TO, ID)
CF_KEYWORDS(PASSWORD, FROM, PASSIVE, TO, ID)
%type <i> idval
%type <f> imexport
@@ -148,6 +148,7 @@ password_items:
/* empty */ { }
| FROM datetime password_items { last_password_item->from = $2; }
| TO datetime password_items { last_password_item->to = $2; }
| PASSIVE datetime password_items { last_password_item->passive = $2; }
| ID NUM password_items { last_password_item->id = $2; }
;