Browse Source

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>
Linus Lüssing 7 years ago
parent
commit
6594ba314c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      package/gluon-core/luasrc/lib/gluon/upgrade/110-network

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