diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-06-01 03:12:48 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-06-01 03:12:48 +0000 |
commit | 1da5feb9f720fd48a886aad09df91bd8cc9df4c8 (patch) | |
tree | 37f7409317502086de0b5fc3fdca7fbbb03d165a /applications/luci-statistics/luasrc/controller | |
parent | 9688e102c4c1bc9c9c816797826d86189c94a430 (diff) |
* luci/statistics: let rrdtool.lua use values from the configuration, added irq diagram model
Diffstat (limited to 'applications/luci-statistics/luasrc/controller')
-rw-r--r-- | applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua index 566e137575..f19d2cdb7f 100644 --- a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua +++ b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua @@ -60,6 +60,7 @@ function index() _entry({"admin", "statistics", "network", "tcpconns"}, cbi("luci_statistics/tcpconns"), "Verbindungen", 40) _entry({"admin", "statistics", "network", "ping"}, cbi("luci_statistics/ping"), "Ping", 50) _entry({"admin", "statistics", "network", "dns"}, cbi("luci_statistics/dns"), "DNS", 60) + _entry({"admin", "statistics", "network", "wireless"}, cbi("luci_statistics/wireless"), "Drahtlos", 70) -- public views @@ -169,7 +170,7 @@ function statistics_render( tree ) -- render graphs for i, inst in ipairs( instances ) do for i, img in ipairs( graph:render( plugin, inst ) ) do - table.insert( images, img ) + table.insert( images, graph:strippngpath( img ) ) end end |