Skip to content
Snippets Groups Projects
Commit 4a0ba9e4 authored by Matthias Schiffer's avatar Matthias Schiffer Committed by GitHub
Browse files

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

parents 82f5afd0 c519ec45
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,8 @@ uci:section('network', 'interface', 'client', { ...@@ -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', ...@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment