mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Ported exporter info to correct c++ function
This commit is contained in:
parent
e020843d42
commit
db468c3d2a
7 changed files with 10 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue