luci-app-statistics: show decimal in iptables values

Fixes: #3109
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-09-24 08:10:16 +02:00
parent 4a564736ea
commit dfe41b3b88

View file

@ -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 = {