summaryrefslogtreecommitdiffstats
path: root/proto/rip/config.Y
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-10 13:40:30 +0200
committerPavel Machek <pavel@ucw.cz>2000-05-10 13:40:30 +0200
commitd9f89e011498ec54006a026d9e0dd963db663ab0 (patch)
treefd7bdde7e99b849082692ac967e1adda784d0a0e /proto/rip/config.Y
parent65a9c57175b60048d5501b2c951d5e46b3909fcb (diff)
downloadbird-d9f89e011498ec54006a026d9e0dd963db663ab0.tar
bird-d9f89e011498ec54006a026d9e0dd963db663ab0.zip
You can now say "mode multicast".
Diffstat (limited to 'proto/rip/config.Y')
-rw-r--r--proto/rip/config.Y3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/rip/config.Y b/proto/rip/config.Y
index f9307e4..54630ba 100644
--- a/proto/rip/config.Y
+++ b/proto/rip/config.Y
@@ -25,7 +25,7 @@ CF_DEFINES
CF_DECLS
CF_KEYWORDS(RIP, INFINITY, METRIC, PORT, PERIOD, GARBAGETIME, PASSWORDS,
- MODE, BROADCAST, QUIET, NOLISTEN, VERSION1,
+ MODE, BROADCAST, MULTICAST, QUIET, NOLISTEN, VERSION1,
AUTHENTICATION, NONE, PLAINTEXT, MD5,
HONOR, NEVER, NEIGHBOR, ALWAYS,
RIP_METRIC, RIP_TAG)
@@ -65,6 +65,7 @@ rip_auth:
rip_mode:
BROADCAST { $$=IM_BROADCAST; }
+ | MULTICAST { $$=0; }
| QUIET { $$=IM_QUIET; }
| NOLISTEN { $$=IM_NOLISTEN; }
| VERSION1 { $$=IM_VERSION1 | IM_BROADCAST; }