Skip to content

Commit

Permalink
gluon-mesh-batman-adv: enable bridge learning on bat0 again
Browse files Browse the repository at this point in the history
Reverts d5829d8 ("gluon-mesh-batman-adv-core: disable bridge port
learning on bat0").

Fixes #1121
  • Loading branch information
neocturne committed May 12, 2017
1 parent 4014e43 commit 97f44c2
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,11 @@ uci:section('network', 'interface', 'bat0',
proto = 'none',
macaddr = sysconfig.primary_mac,
multicast_router = 2,
learning = 0,
learning = 1,
}
)

uci:delete('network', 'client_lan')
if sysconfig.lan_ifname then
uci:section('network', 'interface', 'client_lan',
{
unicast_flood = 0,
}
)
uci:set('network', 'client_lan', 'ifname', sysconfig.lan_ifname)
end

uci:save('network')

Expand Down

0 comments on commit 97f44c2

Please sign in to comment.