From 8047684be06ca0792911b32c3dab4021eb62959a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20L=C3=BCssing?= Date: Tue, 23 Aug 2016 00:16:38 +0200 Subject: [PATCH] gluon-core: reenable multicast snooping on WAN side MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- package/gluon-core/luasrc/lib/gluon/upgrade/110-network | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/110-network b/package/gluon-core/luasrc/lib/gluon/upgrade/110-network index bf87d47f..c61b81d1 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/110-network +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/110-network @@ -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')