mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes missing functions
This commit is contained in:
parent
e770c09dea
commit
952fa6e995
6 changed files with 8 additions and 7 deletions
|
|
@ -80,7 +80,7 @@ end
|
|||
function ts_dump.subnet_update_rrds(when, ifstats, verbose)
|
||||
local subnet_stats = interface.getNetworksStats()
|
||||
|
||||
for subnet, sstats in pairs(subnet_stats) do
|
||||
for subnet, sstats in pairs(subnet_stats or {}) do
|
||||
if ntop.isPro() and not isEmptyString(ntop.getPref("ntopng.prefs.intranet_traffic_rrd_creation") or "") then
|
||||
for second_subnet, traffic in pairs(sstats["intranet_traffic"]) do
|
||||
if traffic.bytes_sent ~= 0 or traffic.bytes_rcvd ~= 0 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue