[PATCH] netifd: bridge: set default value for igmp_snoop

2021-03-01 Thread sotux82
From: Zheng Qian 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'

[PATCH] netifd: bridge: set default value for igmp_snoop

2021-02-23 Thread sotux82
From: Zheng Qian When luci unchecked the igmp snoop option for a bridge, 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". This patch will set a default value to false for the bridge optio