summaryrefslogtreecommitdiff
path: root/interface-ip.c
diff options
context:
space:
mode:
authorZheng Qian <sotux82@gmail.com>2021-03-02 09:36:51 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2021-04-03 17:08:31 +0200
commitf8899b9ba4caa99ac64d3c1abac48ccb1421bd79 (patch)
tree46f8d22710d43586d9e7d134799fcd7288b2c349 /interface-ip.c
parentc84f3b02fced9dd6752a90ca466ada0aabb38224 (diff)
downloadnetifd-f8899b9ba4caa99ac64d3c1abac48ccb1421bd79.tar.gz
netifd: bridge: set default value for igmp_snoop
When unchecked the igmp snoop option for a bridge by luci, it just delete the igmp_snooping key from the config file. So netifd can't change /sys/devices/virtual/net/br-lan/bridge/multicast_snooping from "1" to "0". Option multicast_querier seems no input entry in luci, but it's an related option. This patch will set a default value to false for the bridge option to fix this bug. Signed-off-by: Zheng Qian <sotux82@gmail.com>
Diffstat (limited to 'interface-ip.c')
0 files changed, 0 insertions, 0 deletions