gluon-core: reenable multicast snooping on WAN side

Just like we enabled multicast snooping on the batman-adv client bridge
again, let's do the same for the WAN side.

With one exception: The IGMP/MLD querier is kept disabled to avoid
becoming too "bossy"/"noisy" on a foreign network. The main router on
the WAN side should perform querying and by that enable
IGMP/MLD/snooping if it considers this appropriate there.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
This commit is contained in:
Linus Lüssing 2016-08-23 00:16:38 +02:00
parent 2a51d94fbb
commit 6594ba314c
1 changed files with 2 additions and 1 deletions

View File

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