mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
parent
8c5b4e4ae7
commit
78d349c79a
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ function getProtoVolume(ifName, start_time, end_time)
|
|||
local series = ts_utils.listSeries("iface:ndpi", {ifid=ifId}, start_time)
|
||||
|
||||
ret = { }
|
||||
for _, tags in ipairs(series) do
|
||||
for _, tags in ipairs(series or {}) do
|
||||
-- NOTE: this could be optimized via a dedicated driver call
|
||||
local data = ts_utils.query("iface:ndpi", tags, start_time, end_time)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue