Merge pull request #1096 from T-X/lede-enable-multicast-snooping
This commit is contained in:
commit
4a0ba9e45b
@ -34,6 +34,8 @@ uci:section('network', 'interface', 'client', {
|
||||
auto = true,
|
||||
ipv6 = false,
|
||||
macaddr = sysconfig.primary_mac,
|
||||
igmp_snooping = true,
|
||||
multicast_querier = true,
|
||||
})
|
||||
|
||||
uci:save('network')
|
||||
|
@ -9,12 +9,12 @@ uci:section('network', 'interface', 'wan',
|
||||
{
|
||||
ifname = sysconfig.wan_ifname,
|
||||
type = 'bridge',
|
||||
igmp_snooping = true,
|
||||
multicast_querier = false,
|
||||
peerdns = false,
|
||||
auto = true,
|
||||
}
|
||||
)
|
||||
uci:delete('network', 'wan', 'igmp_snooping')
|
||||
|
||||
if not uci:get('network', 'wan', 'proto') then
|
||||
uci:set('network', 'wan', 'proto', 'dhcp')
|
||||
|
Loading…
Reference in New Issue
Block a user