mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fix 5sec stats time alignment
This commit is contained in:
parent
b6d6414875
commit
84178c4fa1
2 changed files with 5 additions and 5 deletions
|
|
@ -47,10 +47,9 @@ end
|
|||
|
||||
-- ########################################################
|
||||
|
||||
function ts_dump.run_5sec_dump(ifid, periodic_ht_state_update_stats)
|
||||
function ts_dump.run_5sec_dump(ifid, when, periodic_ht_state_update_stats)
|
||||
local iface_rrd_creation_enabled = (ntop.getPref("ntopng.prefs.ifid_"..ifid..".interface_rrd_creation") ~= "false")
|
||||
and (ntop.getPref("ntopng.prefs.interface_rrd_creation") ~= "0")
|
||||
local when = os.time()
|
||||
|
||||
if not iface_rrd_creation_enabled then
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue