projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applications/luci-statistics: make host selectable if collectd-mod-network server...
[project/luci.git]
/
applications
/
luci-statistics
/
luasrc
/
statistics
/
rrdtool
/
definitions
/
olsrd.lua
diff --git
a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua
b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua
index
3ee3910
..
3ca2f03
100644
(file)
--- a/
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua
+++ b/
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua
@@
-13,8
+13,6
@@
You may obtain a copy of the License at
module("luci.statistics.rrdtool.definitions.olsrd", package.seeall)
module("luci.statistics.rrdtool.definitions.olsrd", package.seeall)
-local tree = luci.statistics.datatree.Instance()
-
function rrdargs( graph, plugin, plugin_instance, dtype )
local g = { }
function rrdargs( graph, plugin, plugin_instance, dtype )
local g = { }
@@
-77,7
+75,7
@@
function rrdargs( graph, plugin, plugin_instance, dtype )
}
}
}
}
- local instances = tree:data_instances(plugin, plugin_instance, "signal_quality")
+ local instances =
graph.
tree:data_instances(plugin, plugin_instance, "signal_quality")
table.sort(instances)
-- define one diagram per host, containing the rx and lq values
table.sort(instances)
-- define one diagram per host, containing the rx and lq values