summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/controller
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2013-08-01 21:53:58 +0000
committerManuel Munz <freifunk@somakoma.de>2013-08-01 21:53:58 +0000
commit2eb088f0845db8eeed285ec6a756361aae9dc8e3 (patch)
tree1174b83c0b0ed34722c2363959cd90c1ae5ffac2 /applications/luci-olsr/luasrc/controller
parentb87051fe021d1f86020208701099c64dc53ffad5 (diff)
applications/olsr: Remove macs from olsr neighbors page; show '?' for SNR when no info is available; use a seperate column for local interface
Diffstat (limited to 'applications/luci-olsr/luasrc/controller')
-rw-r--r--applications/luci-olsr/luasrc/controller/olsr.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-olsr/luasrc/controller/olsr.lua b/applications/luci-olsr/luasrc/controller/olsr.lua
index 19e549df9b..94240dac16 100644
--- a/applications/luci-olsr/luasrc/controller/olsr.lua
+++ b/applications/luci-olsr/luasrc/controller/olsr.lua
@@ -163,9 +163,9 @@ function action_neigh(json)
for k, v in ipairs(data) do
local interface
- local snr = 1
- local signal = 1
- local noise = 1
+ local snr = 0
+ local signal = 0
+ local noise = 0
local arptable = sys.net.arptable()
local mac = ""
local rmac = ""