From 81b14db5ca47ae44efc5ccb982f16597873ab4ba Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 24 Jul 2014 10:54:14 +0200 Subject: [PATCH] bridge: enable multicast querier functionality by default Signed-off-by: Felix Fietkau --- system-linux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system-linux.c b/system-linux.c index 5c960b4..ea3a138 100644 --- a/system-linux.c +++ b/system-linux.c @@ -714,6 +714,9 @@ int system_bridge_addbr(struct device *bridge, struct bridge_config *cfg) system_set_dev_sysctl("/sys/devices/virtual/net/%s/bridge/multicast_snooping", bridge->ifname, cfg->igmp_snoop ? "1" : "0"); + system_set_dev_sysctl("/sys/devices/virtual/net/%s/bridge/multicast_querier", + bridge->ifname, cfg->igmp_snoop ? "1" : "0"); + args[0] = BRCTL_SET_BRIDGE_PRIORITY; args[1] = cfg->priority; system_bridge_if(bridge->ifname, NULL, SIOCDEVPRIVATE, &args); -- 2.25.1