mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixes redefinition of variable causing missing flows
This commit is contained in:
parent
6b5e65dfce
commit
a3701168fe
1 changed files with 2 additions and 7 deletions
|
|
@ -190,13 +190,8 @@ if not isEmptyString(tcp_state) then
|
|||
end
|
||||
|
||||
local flows_stats = interface.getFlowsInfo(host, pageinfo)
|
||||
local total
|
||||
local flows_stats
|
||||
|
||||
if(flows_stats ~= nil) then
|
||||
total = flows_stats["numFlows"]
|
||||
flows_stats = flows_stats["flows"]
|
||||
end
|
||||
local total = flows_stats["numFlows"]
|
||||
local flows_stats = flows_stats["flows"]
|
||||
|
||||
-- Prepare host
|
||||
local host_list = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue