Skip to content
Snippets Groups Projects
Unverified Commit 1ed87c6d authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

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

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

Fixes #1121
parent 774d733d
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ uci:section('network', 'interface', 'bat0', { ...@@ -34,7 +34,7 @@ uci:section('network', 'interface', 'bat0', {
auto = true, auto = true,
macaddr = sysconfig.primary_mac, macaddr = sysconfig.primary_mac,
multicast_router = 2, multicast_router = 2,
learning = false, learning = true,
}) })
local interfaces = uci:get_list('network', 'client', 'ifname') local interfaces = uci:get_list('network', 'client', 'ifname')
......
...@@ -24,12 +24,6 @@ uci:section('network', 'interface', 'client', { ...@@ -24,12 +24,6 @@ uci:section('network', 'interface', 'client', {
}) })
uci:delete('network', 'client_lan') 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:delete('network', 'local_node_route6')
uci:section('network', 'route6', 'local_node_route6', { uci:section('network', 'route6', 'local_node_route6', {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment