mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixed flow statistics in host_get_json.lua
Fixed TCP flags Smaller cosmetic fixes
This commit is contained in:
parent
1013df7db9
commit
79022c7238
6 changed files with 56 additions and 27 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
--
|
||||
-- (C) 2013-16 - ntop.org
|
||||
--
|
||||
|
|
@ -55,7 +54,8 @@ else
|
|||
host_stats_flows_num = tonumber(host_stats_flows_num)
|
||||
end
|
||||
local total = 0
|
||||
local flows = interface.getFlowsInfo(host, nil, "column_bytes", host_stats_flows_num, 0, false)
|
||||
|
||||
local flows = interface.getFlowsInfo(host_info["host"], nil, "column_bytes", host_stats_flows_num, 0, false)
|
||||
flows,total = aggregateFlowsStats(flows)
|
||||
for i, fl in ipairs(flows) do
|
||||
flows[i] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue