projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated OLSR page
[project/luci.git]
/
applications
/
luci-olsr
/
luasrc
/
controller
/
olsr.lua
diff --git
a/applications/luci-olsr/luasrc/controller/olsr.lua
b/applications/luci-olsr/luasrc/controller/olsr.lua
index
1eede44
..
d478df0
100644
(file)
--- a/
applications/luci-olsr/luasrc/controller/olsr.lua
+++ b/
applications/luci-olsr/luasrc/controller/olsr.lua
@@
-167,6
+167,13
@@
function fetch_txtinfo(otable)
for k, key in pairs(keys) do
data[name][j][key] = fields[k]
end
+
+ if data[name][j].Linkcost then
+ data[name][j].LinkQuality,
+ data[name][j].NLQ,
+ data[name][j].ETX =
+ data[name][j].Linkcost:match("(.*)/(.*)\t(.*)")
+ end
end
end