From e9e68ff833cda119e4c800668b1d9cde258fde80 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 24 Dec 2019 14:59:52 +1000 Subject: 0 speed is 0 speed. --- apt-panopticommon.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index 197826c..4cabb5d 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua @@ -626,7 +626,7 @@ APT.updateRRD = function(results, host, ip) if 0 ~= results.speed.max then APT.rrd.update('rrd/' .. host .. '/Speed/Speed.rrd', APT.now .. ':' .. results.speed.max .. ':' .. results.speed.min) else - APT.rrd.update('rrd/' .. host .. '/Speed/Speed.rrd', APT.now .. ':U:U') + APT.rrd.update('rrd/' .. host .. '/Speed/Speed.rrd', APT.now .. ':0:0') end else APT.rrd.update( 'rrd/' .. host .. '/Speed/Speed.rrd', APT.now .. ':U:U') -- cgit v1.1