Skip to content

Commit 97f44c2

Browse files
committed
gluon-mesh-batman-adv: enable bridge learning on bat0 again
Reverts d5829d8 ("gluon-mesh-batman-adv-core: disable bridge port learning on bat0"). Fixes #1121
1 parent 4014e43 commit 97f44c2

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

package/gluon-mesh-batman-adv-core/luasrc/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh

+1-9
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,11 @@ uci:section('network', 'interface', 'bat0',
4343
proto = 'none',
4444
macaddr = sysconfig.primary_mac,
4545
multicast_router = 2,
46-
learning = 0,
46+
learning = 1,
4747
}
4848
)
4949

5050
uci:delete('network', 'client_lan')
51-
if sysconfig.lan_ifname then
52-
uci:section('network', 'interface', 'client_lan',
53-
{
54-
unicast_flood = 0,
55-
}
56-
)
57-
uci:set('network', 'client_lan', 'ifname', sysconfig.lan_ifname)
58-
end
5951

6052
uci:save('network')
6153

0 commit comments

Comments
 (0)