Fixed invalid parameter in rrd_update call

This commit is contained in:
Luca Deri 2017-11-01 14:24:59 +01:00
parent 2f8c92162c
commit a21e7eeb9f

View file

@ -979,7 +979,7 @@ function makeRRD(basedir, ifname, key, rrdname, step, value)
create_rrd(name, step, rrdname)
end
ntop.rrd_update(name, nil, tolongint(value))
ntop.rrd_update(name, tolongint(value))
local tskey = ifname
if(key ~= nil) then tskey = tskey ..":"..key end