diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-09-24 08:10:16 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-24 08:10:16 +0200 |
commit | dfe41b3b88972b9ff77c499b2b9ee4a2cf4da28d (patch) | |
tree | 7f0aa3e8991268150adf9ebf6583cf5028a798da /applications | |
parent | 4a564736eaa765249ae0ab72d1364c2e229debad (diff) |
luci-app-statistics: show decimal in iptables values
Fixes: #3109
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iptables.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iptables.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iptables.lua index 7218bfd44..68a4ecf62 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iptables.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iptables.lua @@ -13,8 +13,8 @@ function rrdargs( graph, plugin, plugin_instance, dtype ) { title = "%H: Firewall: Processed bytes in %pi", vlabel = "Bytes/s", - number_format = "%5.0lf%sB/s", - totals_format = "%5.0lf%sB", + number_format = "%5.1lf%sB/s", + totals_format = "%5.1lf%sB", data = { types = { "ipt_bytes" }, options = { @@ -30,7 +30,7 @@ function rrdargs( graph, plugin, plugin_instance, dtype ) title = "%H: Firewall: Processed packets in %pi", vlabel = "Packets/s", number_format = "%5.1lf P/s", - totals_format = "%5.0lf%s", + totals_format = "%5.1lf%s", data = { types = { "ipt_packets" }, options = { |