diff --git a/package/gluon-mesh-batman-adv-core/luasrc/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh b/package/gluon-mesh-batman-adv-core/luasrc/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh index 4710d47c88617739ac25fbd25595fd0dce1f8a69..1c263ab78625350868122706b0fc7b976c5252ce 100755 --- a/package/gluon-mesh-batman-adv-core/luasrc/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh +++ b/package/gluon-mesh-batman-adv-core/luasrc/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh @@ -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')