mirror of
https://github.com/openwrt/luci.git
synced 2025-12-26 13:26:20 +04:00
luci-app-statistics: show decimal in iptables values
Fixes: #3109 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user