Merge pull request #1096 from T-X/lede-enable-multicast-snooping

This commit is contained in:
Matthias Schiffer 2017-04-18 15:11:36 +02:00 committed by GitHub
commit 4a0ba9e45b
2 changed files with 3 additions and 1 deletions

View File

@ -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')

View File

@ -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')