From 66ead88dcbffd5c1483606b5fb38ee861dacf8d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20L=C3=BCssing?= Date: Thu, 13 Apr 2017 22:22:34 +0200 Subject: [PATCH 1/2] gluon-client-bridge: reenable multicast snooping for client zone MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LEDE recently disabled multicast snooping by default: https://git.lede-project.org/?p=project/netifd.git;a=commitdiff;h=52541140f8138e31958cdc3d7e42a4029fa6bbc9 Reenable it for Gluon as there have been no confirmed issues for LEDE and no negative reports concerning Gluon v2016.2.x so far. Closes #1025. Signed-off-by: Linus Lüssing --- .../luasrc/lib/gluon/upgrade/300-gluon-client-bridge-network | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/gluon-client-bridge/luasrc/lib/gluon/upgrade/300-gluon-client-bridge-network b/package/gluon-client-bridge/luasrc/lib/gluon/upgrade/300-gluon-client-bridge-network index ca29e9ac..2f34c9fd 100755 --- a/package/gluon-client-bridge/luasrc/lib/gluon/upgrade/300-gluon-client-bridge-network +++ b/package/gluon-client-bridge/luasrc/lib/gluon/upgrade/300-gluon-client-bridge-network @@ -34,6 +34,8 @@ uci:section('network', 'interface', 'client', { auto = true, ipv6 = false, macaddr = sysconfig.primary_mac, + igmp_snooping = true, + multicast_querier = true, }) uci:save('network') From c519ec45966db64e830665a23d6bb712984ba018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20L=C3=BCssing?= Date: Thu, 13 Apr 2017 22:28:33 +0200 Subject: [PATCH 2/2] gluon-core: reenable multicast snooping for wan zone MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LEDE recently disabled multicast snooping by default: https://git.lede-project.org/?p=project/netifd.git;a=commitdiff;h=52541140f8138e31958cdc3d7e42a4029fa6bbc9 Reenable it for Gluon as there have been no confirmed issues for LEDE and no negative reports concerning Gluon v2016.2.x so far. Closes #1025. Signed-off-by: Linus Lüssing --- package/gluon-core/luasrc/lib/gluon/upgrade/110-network | 2 +- 1 file changed, 1 insertion(+), 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 72a9a7eb..6ca0dc84 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/110-network +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/110-network @@ -9,12 +9,12 @@ uci:section('network', 'interface', 'wan', { ifname = sysconfig.wan_ifname, type = 'bridge', + igmp_snooping = true, multicast_querier = false, peerdns = false, auto = true, } ) -uci:delete('network', 'wan', 'igmp_snooping') if not uci:get('network', 'wan', 'proto') then uci:set('network', 'wan', 'proto', 'dhcp')