Additional conversion fix for #246

This commit is contained in:
Luca Deri 2015-10-21 22:51:31 +02:00
parent 724be6b83a
commit 71afffaf7c
3 changed files with 14 additions and 9 deletions

View file

@ -770,7 +770,7 @@ function makeRRD(basedir, ifname, rrdname, step, value)
else
create_rrd(name, 1, rrdname)
end
ntop.rrd_update(name, "N:".. tonumber(value))
ntop.rrd_update(name, "N:".. tolongint(value))
if(enable_second_debug == 1) then io.write('Updating RRD ['.. ifname..'] '.. name .. " " .. value ..'\n') end
end