summaryrefslogtreecommitdiffstats
path: root/nest/config.Y
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-05-31 19:12:00 +0200
committerPavel Machek <pavel@ucw.cz>1999-05-31 19:12:00 +0200
commit900d5470ae2cada4d37ed62f8bf2ce64c84349cd (patch)
treead3e392914612d72481a2d0ffb1e0821c5622d94 /nest/config.Y
parent139ca21d05df71b59a72af126d063170421cf9f7 (diff)
downloadbird-900d5470ae2cada4d37ed62f8bf2ce64c84349cd.tar
bird-900d5470ae2cada4d37ed62f8bf2ce64c84349cd.zip
Added PASSIVE option to paswwords.
Diffstat (limited to 'nest/config.Y')
-rw-r--r--nest/config.Y3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/config.Y b/nest/config.Y
index b0634a6..bb1328c 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -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; }
;