summaryrefslogtreecommitdiffstats
path: root/proto/rip/config.Y
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-05-26 16:37:47 +0200
committerPavel Machek <pavel@ucw.cz>1999-05-26 16:37:47 +0200
commitfd5f8704bb7c2e9845a7c4785ace83a2b77d2c57 (patch)
tree9024db5926e0e81ebd48972d2af7072e8f7224cd /proto/rip/config.Y
parent858a717796d7aa48fe9b22a6b035fec9edbb5a2a (diff)
downloadbird-fd5f8704bb7c2e9845a7c4785ace83a2b77d2c57.tar
bird-fd5f8704bb7c2e9845a7c4785ace83a2b77d2c57.zip
Make rip use newly defined password lists.
Diffstat (limited to 'proto/rip/config.Y')
-rw-r--r--proto/rip/config.Y4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/rip/config.Y b/proto/rip/config.Y
index f7839f2..a3e877d 100644
--- a/proto/rip/config.Y
+++ b/proto/rip/config.Y
@@ -24,7 +24,7 @@ struct rip_patt *rip_get_iface(void);
CF_DECLS
-CF_KEYWORDS(RIP, INFINITY, METRIC, PORT, PERIOD, GARBAGETIME, PASSWORD,
+CF_KEYWORDS(RIP, INFINITY, METRIC, PORT, PERIOD, GARBAGETIME, PASSWORDS,
MODE, BROADCAST, QUIET, NOLISTEN, VERSION1,
AUTHENTICATION, NONE, PLAINTEXT, MD5)
@@ -47,8 +47,8 @@ RIP_CFG:
| RIP_CFG PORT expr ';' { RIP_CFG->port = $3; }
| RIP_CFG PERIOD expr ';' { RIP_CFG->period = $3; }
| RIP_CFG GARBAGETIME expr ';' { RIP_CFG->garbage_time = $3; }
- | RIP_CFG PASSWORD TEXT ';' { RIP_CFG->password = $3; }
| RIP_CFG AUTHENTICATION rip_auth ';' {RIP_CFG->authtype = $3; }
+ | RIP_CFG PASSWORDS '{' password_list '}' {RIP_CFG->passwords = $4; }
| RIP_CFG rip_iface_list ';'
;