Ported exporter info to correct c++ function

This commit is contained in:
Matteo Biscosi 2024-07-19 17:23:20 +02:00
parent e020843d42
commit db468c3d2a
7 changed files with 10 additions and 10 deletions

View file

@ -893,7 +893,7 @@ function getNetFlowExportersUnifiedStats()
if not unified_exporters[exporter_ip] then
unified_exporters[exporter_ip] = {}
end
local ports_table = interface.getFlowDeviceInfo(exporter_ip)
local ports_table = interface.getFlowDeviceInfoByIP(exporter_ip)
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