mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Added explicit numeric conversion to see if it can help with #246
This commit is contained in:
parent
4e1d667a6b
commit
724be6b83a
2 changed files with 9 additions and 9 deletions
|
|
@ -770,7 +770,7 @@ function makeRRD(basedir, ifname, rrdname, step, value)
|
|||
else
|
||||
create_rrd(name, 1, rrdname)
|
||||
end
|
||||
ntop.rrd_update(name, "N:".. toint(value))
|
||||
ntop.rrd_update(name, "N:".. tonumber(value))
|
||||
if(enable_second_debug == 1) then io.write('Updating RRD ['.. ifname..'] '.. name .. " " .. value ..'\n') end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue