summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-01-27 03:49:52 +0100
committerJohn Crispin <blogic@openwrt.org>2015-03-23 07:50:21 +0100
commitef4b8c8446b5f164a310a3955e90f7ffd59e2a59 (patch)
tree575dd71e818b187598dc8aab8f05831bed290368 /system.h
parent20510bd45d70c5b07718e7608d82133883346673 (diff)
downloadnetifd-ef4b8c8446b5f164a310a3955e90f7ffd59e2a59.tar.gz
bridge: allow enabling or disabling the multicast querier independently of IGMP snooping
In larger networks, especially big batman-adv meshes, it may be desirable to enable IGMP snooping on every bridge without enabling the multicast querier to specifically put the querier on a well-connected node. This patch adds a new UCI option 'multicast_querier' for bridges which allows this. The default is still the value of the 'igmp_snooping' option to maintain backwards compatiblity. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'system.h')
-rw-r--r--system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/system.h b/system.h
index 9a2326b..94e0dd9 100644
--- a/system.h
+++ b/system.h
@@ -50,6 +50,7 @@ struct bridge_config {
enum bridge_opt flags;
bool stp;
bool igmp_snoop;
+ bool multicast_querier;
unsigned short priority;
int forward_delay;
bool bridge_empty;