mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Possible fix for flow exporters dropdown
This commit is contained in:
parent
edf2be3079
commit
8e6757f721
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ function getProbesName(flowdevs, show_vlan, shorten_len)
|
|||
for interface, devices in pairs(flowdevs or {}) do
|
||||
local device_list = {}
|
||||
if table.len(devices or {}) > 0 then
|
||||
for id, device_info in pairsByValues(devices or {}, asc) do
|
||||
for id, device_info in pairsByKeys(devices or {}, asc) do
|
||||
device_list[device_info.exporter_ip] = getProbeName(device_info.exporter_ip, show_vlan, shorten_len)
|
||||
end
|
||||
probes_list[interface] = device_list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue