瀏覽代碼

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 8 年之前
父節點
當前提交
6594ba314c
共有 1 個文件被更改,包括 2 次插入1 次删除
  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')