luci-app-statistics: show decimal in iptables values
Fixes: #3109 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
4a564736ea
commit
dfe41b3b88
@ -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 = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user