diff options
author | Pavel Machek <pavel@ucw.cz> | 1999-08-18 13:19:33 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 1999-08-18 13:19:33 +0000 |
commit | bce8a34b128f1c0495f3f7a28d832d9c2b4a9543 (patch) | |
tree | becf50fe874276a0d3880875a0b5a1d59c0d5cb9 /proto/rip/config.Y | |
parent | f651941402079052fbdabf64092e7dd4a6a8cafe (diff) |
Few fixme's fixed in rip (will not crash any more on request for
sending routing table - hopefully).
Next few steps in md5 authentication (not yet complete).
Diffstat (limited to 'proto/rip/config.Y')
-rw-r--r-- | proto/rip/config.Y | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/proto/rip/config.Y b/proto/rip/config.Y index 8590e57f..1bc67207 100644 --- a/proto/rip/config.Y +++ b/proto/rip/config.Y @@ -24,7 +24,8 @@ CF_DECLS CF_KEYWORDS(RIP, INFINITY, METRIC, PORT, PERIOD, GARBAGETIME, PASSWORDS, MODE, BROADCAST, QUIET, NOLISTEN, VERSION1, - AUTHENTICATION, NONE, PLAINTEXT, MD5) + AUTHENTICATION, NONE, PLAINTEXT, MD5, + HONOUR, NEVER, NEIGHBOUR, ALWAYS) %type <i> rip_mode rip_auth @@ -47,6 +48,9 @@ RIP_CFG: | RIP_CFG GARBAGETIME expr ';' { RIP_CFG->garbage_time = $3; } | RIP_CFG AUTHENTICATION rip_auth ';' {RIP_CFG->authtype = $3; } | RIP_CFG PASSWORDS '{' password_list '}' {RIP_CFG->passwords = $4; } + | RIP_CFG HONOUR ALWAYS ';' { RIP_CFG->honour = HO_ALWAYS; } + | RIP_CFG HONOUR NEIGHBOUR ';' { RIP_CFG->honour = HO_NEIGHBOUR; } + | RIP_CFG HONOUR NEVER ';' { RIP_CFG->honour = HO_NEVER; } | RIP_CFG rip_iface_list ';' ; |