You can now say "mode multicast".

This commit is contained in:
Pavel Machek 2000-05-10 11:40:30 +00:00
parent 65a9c57175
commit d9f89e0114

View file

@ -25,7 +25,7 @@ CF_DEFINES
CF_DECLS CF_DECLS
CF_KEYWORDS(RIP, INFINITY, METRIC, PORT, PERIOD, GARBAGETIME, PASSWORDS, CF_KEYWORDS(RIP, INFINITY, METRIC, PORT, PERIOD, GARBAGETIME, PASSWORDS,
MODE, BROADCAST, QUIET, NOLISTEN, VERSION1, MODE, BROADCAST, MULTICAST, QUIET, NOLISTEN, VERSION1,
AUTHENTICATION, NONE, PLAINTEXT, MD5, AUTHENTICATION, NONE, PLAINTEXT, MD5,
HONOR, NEVER, NEIGHBOR, ALWAYS, HONOR, NEVER, NEIGHBOR, ALWAYS,
RIP_METRIC, RIP_TAG) RIP_METRIC, RIP_TAG)
@ -65,6 +65,7 @@ rip_auth:
rip_mode: rip_mode:
BROADCAST { $$=IM_BROADCAST; } BROADCAST { $$=IM_BROADCAST; }
| MULTICAST { $$=0; }
| QUIET { $$=IM_QUIET; } | QUIET { $$=IM_QUIET; }
| NOLISTEN { $$=IM_NOLISTEN; } | NOLISTEN { $$=IM_NOLISTEN; }
| VERSION1 { $$=IM_VERSION1 | IM_BROADCAST; } | VERSION1 { $$=IM_VERSION1 | IM_BROADCAST; }