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

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

Fixes #1121
This commit is contained in:
Matthias Schiffer 2017-05-12 15:43:31 +02:00
parent 774d733dee
commit 1ed87c6df4
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
2 changed files with 1 additions and 7 deletions

View File

@ -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')

View File

@ -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', {