summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-11-03 01:40:36 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-11-03 01:40:36 +0100
commita244c5524b30874e24fc4dfbdb8cef243bd33178 (patch)
tree2856262ff6d1cbb9470dde9e7f4cabd3030ef973 /nest
parent938b191b9282b138cbdd30dfc11b78c0467d6380 (diff)
downloadbird-a244c5524b30874e24fc4dfbdb8cef243bd33178.tar
bird-a244c5524b30874e24fc4dfbdb8cef243bd33178.zip
Added support for sending and handling the multicast capability
Diffstat (limited to 'nest')
-rw-r--r--nest/config.Y12
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)