Browse Source

gluon-core: reenable multicast snooping for wan zone

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 <linus.luessing@c0d3.blue>
Linus Lüssing 7 years ago
parent
commit
c519ec4596
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/gluon-core/luasrc/lib/gluon/upgrade/110-network

+ 1 - 1
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')