Kaynağa Gözat

gluon-mesh-batman-adv: enable bridge learning on bat0 again

Reverts d5829d87be8 ("gluon-mesh-batman-adv-core: disable bridge port
learning on bat0").

Fixes #1121
Matthias Schiffer 7 yıl önce
ebeveyn
işleme
1ed87c6df4

+ 1 - 1
package/gluon-mesh-batman-adv/luasrc/lib/gluon/upgrade/310-gluon-mesh-batman-adv-mesh

@@ -34,7 +34,7 @@ uci:section('network', 'interface', 'bat0', {
 	auto = true,
 	macaddr = sysconfig.primary_mac,
 	multicast_router = 2,
-	learning = false,
+	learning = true,
 })
 
 local interfaces = uci:get_list('network', 'client', 'ifname')

+ 0 - 6
package/gluon-mesh-batman-adv/luasrc/lib/gluon/upgrade/320-gluon-mesh-batman-adv-client-bridge

@@ -24,12 +24,6 @@ uci:section('network', 'interface', 'client', {
 })
 
 uci:delete('network', 'client_lan')
-if sysconfig.lan_ifname then
-	uci:section('network', 'interface', 'client_lan', {
-		unicast_flood = false,
-		ifname = sysconfig.lan_ifname,
-	})
-end
 
 uci:delete('network', 'local_node_route6')
 uci:section('network', 'route6', 'local_node_route6', {