mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixed some Lua errors that caused some scripts to fail and this prevent reports from being properly displayed (e.g. the ASNs report in the dashboard)
This commit is contained in:
parent
07e214a6b2
commit
7e220133a5
3 changed files with 16 additions and 7 deletions
|
|
@ -199,7 +199,8 @@ end
|
|||
local function getHistoricalTopAS(ifid, ifname, epoch, add_vlan)
|
||||
if (epoch == nil) then
|
||||
return("[ ]\n")
|
||||
end
|
||||
end
|
||||
|
||||
return getTopASFromJSON(ntop.getMinuteSampling(ifid, tonumber(epoch)), add_vlan)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue