mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Fixes l7 protocol not correctly calculated for exporters
This commit is contained in:
parent
e9ef30ea98
commit
9dab48aedf
2 changed files with 159 additions and 150 deletions
|
|
@ -888,7 +888,7 @@ function getExportersUnifiedStats()
|
|||
if not unified_exporters[exporter_ip] then
|
||||
unified_exporters[exporter_ip] = {}
|
||||
end
|
||||
local ports_table = interface.getFlowDeviceInfoByIP(exporter_ip)
|
||||
local ports_table = interface.getFlowDeviceInfoByIP(exporter_ip, true)
|
||||
for _, ports in pairs(ports_table) do
|
||||
for port_idx, port_info in pairs(ports) do
|
||||
if not unified_exporters[exporter_ip][port_idx] then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue