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

@ -246,7 +246,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 ]] )
local tmp_list = {}
for _, ports in pairs(ports_table) do
@ -278,7 +278,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