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

@ -192,7 +192,7 @@ local function build_response(criteria)
value = "",
label = i18n("all")
}}
local ports_table = interface.getFlowDeviceInfo(dev_ip, true --[[ Show minimal info ]])
local ports_table = interface.getFlowDeviceInfoByIP(dev_ip, true --[[ Show minimal info ]])
for _, ports in pairs(ports_table) do
for portidx, _ in pairsByKeys(ports, asc) do
@ -218,7 +218,7 @@ local function build_response(criteria)
value = "",
label = i18n("all")
}}
local ports_table = interface.getFlowDeviceInfo(dev_ip, false)
local ports_table = interface.getFlowDeviceInfoByIP(dev_ip, false)
for _, ports in pairs(ports_table) do
for portidx, _ in pairsByKeys(ports, asc) do

View file

@ -471,7 +471,7 @@ if ntop.isPro() and not isEmptyString(_GET["deviceIP"]) then
value = "",
label = i18n("all")
}}
local ports_table = interface.getFlowDeviceInfo(dev_ip, true --[[ Show minimal info ]] )
local ports_table = interface.getFlowDeviceInfoByIP(dev_ip, true --[[ Show minimal info ]] )
tmp_list = {}
for _, ports in pairs(ports_table) do
@ -503,7 +503,7 @@ if ntop.isPro() and not isEmptyString(_GET["deviceIP"]) then
value = "",
label = i18n("all")
}}
local ports_table = interface.getFlowDeviceInfo(dev_ip, false)
local ports_table = interface.getFlowDeviceInfoByIP(dev_ip, false)
tmp_list = {}
for _, ports in pairs(ports_table) do