diff options
Diffstat (limited to 'nest')
-rw-r--r-- | nest/config.Y | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/nest/config.Y b/nest/config.Y index 39cd901..cd00310 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -43,8 +43,8 @@ CF_DECLS CF_KEYWORDS(ROUTER, ID, PROTOCOL, PREFERENCE, DISABLED, DEBUG, ALL, OFF, DIRECT) CF_KEYWORDS(INTERFACE, IMPORT, EXPORT, FILTER, NONE, TABLE, STATES, ROUTES, FILTERS) CF_KEYWORDS(PASSWORD, FROM, PASSIVE, TO, ID, EVENTS, PACKETS, PROTOCOLS, INTERFACES) -CF_KEYWORDS(PRIMARY, STATS, COUNT, FOR, COMMANDS, PREEXPORT, GENERATE) -CF_KEYWORDS(LISTEN, BGP, V6ONLY, ADDRESS, PORT, PASSWORDS, DESCRIPTION) +CF_KEYWORDS(PRIMARY, STATS, COUNT, FOR, COMMANDS, PREEXPORT, GENERATE, ENABLE) +CF_KEYWORDS(LISTEN, BGP, V6ONLY, ADDRESS, PORT, PASSWORDS, DESCRIPTION, MULTICAST) CF_KEYWORDS(RELOAD, IN, OUT, MRTDUMP, MESSAGES, RESTRICT, MEMORY, IGP_METRIC) CF_ENUM(T_ENUM_RTS, RTS_, DUMMY, STATIC, INHERIT, DEVICE, STATIC_DEVICE, REDIRECT, @@ -101,6 +101,14 @@ listen_opt: ; +CF_ADDTO(conf, multicast) + +multicast: ENABLE MULTICAST bool ';' { + new_config->enable_multicast = $3; + } + ; + + /* Creation of routing tables */ CF_ADDTO(conf, newtab) |