Skip to content

Commit

Permalink
gluon-mesh-batman-adv-core: enable mesh_no_rebroadcast for Mesh-on-WA…
Browse files Browse the repository at this point in the history
…N/LAN

Ethernet links provide transitive connectivity in all but very unusual
setup, enable mesh_no_rebroadcast to reduce load for devices on links with
many nodes.

Fixes freifunk-gluon#652
  • Loading branch information
neocturne authored and rotanid committed Jun 23, 2016
1 parent 7ad11c9 commit c02123c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -10,6 +10,7 @@ if not c:get('network', 'mesh_wan') then
{ ifname = 'br-wan'
, proto = 'batadv'
, mesh = 'bat0'
, mesh_no_rebroadcast = '1'
, auto = site.mesh_on_wan and 1 or 0
})
end
Expand Down
Expand Up @@ -27,10 +27,10 @@ if sysconfig.lan_ifname and not uci:get('network', 'mesh_lan') then
{ ifname = sysconfig.lan_ifname
, proto = 'batadv'
, mesh = 'bat0'
, mesh_no_rebroadcast = '1'
, macaddr = util.generate_mac(1, 1)
, auto = enable and 1 or 0
})

uci:save('network')
end

0 comments on commit c02123c

Please sign in to comment.