summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2014-08-12 17:08:49 +0000
committerManuel Munz <freifunk@somakoma.de>2014-08-12 17:08:49 +0000
commit89a03c45c532249a26fbd09fec9888ef5186acf0 (patch)
tree9e280b93733f7625450b5947ae6aa70f61811a06 /applications/luci-olsr
parent1dbb71c117bb842a87ba6b934eda85998133e3c6 (diff)
applications/status-olsr: Disable neightbl calls in olsrd neighbors view because neightbl segfaults on BB and it wasn't used anyways.
Diffstat (limited to 'applications/luci-olsr')
-rw-r--r--applications/luci-olsr/luasrc/controller/olsr.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/applications/luci-olsr/luasrc/controller/olsr.lua b/applications/luci-olsr/luasrc/controller/olsr.lua
index b5698eecba..4573f690b5 100644
--- a/applications/luci-olsr/luasrc/controller/olsr.lua
+++ b/applications/luci-olsr/luasrc/controller/olsr.lua
@@ -106,7 +106,7 @@ function action_neigh(json)
local devices = ntm:get_wifidevs()
local sys = require "luci.sys"
local assoclist = {}
- local neightbl = require "neightbl"
+ --local neightbl = require "neightbl"
local ipc = require "luci.ip"
luci.sys.net.routes(function(r)
@@ -176,17 +176,19 @@ function action_neigh(json)
if not a:is6linklocal() then
if a:host() == locip:host() then
interface = name
- neihgt = neightbl.get(device.ifname) or {}
+ --neihgt = neightbl.get(device.ifname) or {}
end
end
end
end
end)
+ --[[
for ip,mac in pairs(neihgt) do
if ip == v.remoteIP then
rmac = mac
end
end
+ ]]--
end
for _, val in ipairs(assoclist) do
if val.network == interface and val.list then