Merge branch 'enable-multicast-snooping' of https://github.com/T-X/gluon
This commit is contained in:
commit
c84bb17915
@ -9,11 +9,12 @@ uci:section('network', 'interface', 'wan',
|
||||
{
|
||||
ifname = sysconfig.wan_ifname,
|
||||
type = 'bridge',
|
||||
igmp_snooping = 0,
|
||||
multicast_querier = 0,
|
||||
peerdns = 0,
|
||||
auto = 1,
|
||||
}
|
||||
)
|
||||
uci:delete('network', 'wan', 'igmp_snooping')
|
||||
|
||||
if not uci:get('network', 'wan', 'proto') then
|
||||
uci:set('network', 'wan', 'proto', 'dhcp')
|
||||
|
@ -37,7 +37,7 @@ end
|
||||
|
||||
uci:set('network', 'client', 'proto', 'dhcpv6')
|
||||
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', 'query_interval', 2000)
|
||||
uci:set('network', 'client', 'query_response_interval', 500)
|
||||
|
Loading…
Reference in New Issue
Block a user