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
1 changed files with 3 additions and 3 deletions
|
@ -13,8 +13,8 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
|
||||||
{
|
{
|
||||||
title = "%H: Firewall: Processed bytes in %pi",
|
title = "%H: Firewall: Processed bytes in %pi",
|
||||||
vlabel = "Bytes/s",
|
vlabel = "Bytes/s",
|
||||||
number_format = "%5.0lf%sB/s",
|
number_format = "%5.1lf%sB/s",
|
||||||
totals_format = "%5.0lf%sB",
|
totals_format = "%5.1lf%sB",
|
||||||
data = {
|
data = {
|
||||||
types = { "ipt_bytes" },
|
types = { "ipt_bytes" },
|
||||||
options = {
|
options = {
|
||||||
|
@ -30,7 +30,7 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
|
||||||
title = "%H: Firewall: Processed packets in %pi",
|
title = "%H: Firewall: Processed packets in %pi",
|
||||||
vlabel = "Packets/s",
|
vlabel = "Packets/s",
|
||||||
number_format = "%5.1lf P/s",
|
number_format = "%5.1lf P/s",
|
||||||
totals_format = "%5.0lf%s",
|
totals_format = "%5.1lf%s",
|
||||||
data = {
|
data = {
|
||||||
types = { "ipt_packets" },
|
types = { "ipt_packets" },
|
||||||
options = {
|
options = {
|
||||||
|
|
Loading…
Reference in a new issue