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,
|
auto = true,
|
||||||
ipv6 = false,
|
ipv6 = false,
|
||||||
macaddr = sysconfig.primary_mac,
|
macaddr = sysconfig.primary_mac,
|
||||||
|
igmp_snooping = true,
|
||||||
|
multicast_querier = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
uci:save('network')
|
uci:save('network')
|
||||||
|
@ -9,12 +9,12 @@ uci:section('network', 'interface', 'wan',
|
|||||||
{
|
{
|
||||||
ifname = sysconfig.wan_ifname,
|
ifname = sysconfig.wan_ifname,
|
||||||
type = 'bridge',
|
type = 'bridge',
|
||||||
|
igmp_snooping = true,
|
||||||
multicast_querier = false,
|
multicast_querier = false,
|
||||||
peerdns = false,
|
peerdns = false,
|
||||||
auto = true,
|
auto = true,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
uci:delete('network', 'wan', 'igmp_snooping')
|
|
||||||
|
|
||||||
if not uci:get('network', 'wan', 'proto') then
|
if not uci:get('network', 'wan', 'proto') then
|
||||||
uci:set('network', 'wan', 'proto', 'dhcp')
|
uci:set('network', 'wan', 'proto', 'dhcp')
|
||||||
|
Loading…
Reference in New Issue
Block a user