From: Felix Fietkau Date: Thu, 24 Jul 2014 08:54:14 +0000 (+0200) Subject: bridge: enable multicast querier functionality by default X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=81b14db5ca47ae44efc5ccb982f16597873ab4ba;p=oweals%2Fnetifd.git bridge: enable multicast querier functionality by default Signed-off-by: Felix Fietkau --- 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);