Skip to content
Snippets Groups Projects
Unverified Commit c84bb179 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

Merge branch 'enable-multicast-snooping' of https://github.com/T-X/gluon

parents e5acba5f 6594ba31
No related branches found
No related tags found
No related merge requests found
...@@ -9,11 +9,12 @@ uci:section('network', 'interface', 'wan', ...@@ -9,11 +9,12 @@ uci:section('network', 'interface', 'wan',
{ {
ifname = sysconfig.wan_ifname, ifname = sysconfig.wan_ifname,
type = 'bridge', type = 'bridge',
igmp_snooping = 0, multicast_querier = 0,
peerdns = 0, peerdns = 0,
auto = 1, auto = 1,
} }
) )
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')
......
...@@ -37,7 +37,7 @@ end ...@@ -37,7 +37,7 @@ end
uci:set('network', 'client', 'proto', 'dhcpv6') uci:set('network', 'client', 'proto', 'dhcpv6')
uci:set('network', 'client', 'reqprefix', 'no') uci:set('network', 'client', 'reqprefix', 'no')
uci:set('network', 'client', 'igmp_snooping', 0) uci:delete('network', 'client', 'igmp_snooping')
uci:set('network', 'client', 'robustness', 3) uci:set('network', 'client', 'robustness', 3)
uci:set('network', 'client', 'query_interval', 2000) uci:set('network', 'client', 'query_interval', 2000)
uci:set('network', 'client', 'query_response_interval', 500) uci:set('network', 'client', 'query_response_interval', 500)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment