mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fix symbolic VLAN in search (#8138)
This commit is contained in:
parent
6098dc87b0
commit
99497c8cab
1 changed files with 2 additions and 2 deletions
|
|
@ -426,7 +426,7 @@ if not is_system_interface then
|
|||
local ip = nil
|
||||
local mac = nil
|
||||
|
||||
local label = host_key
|
||||
local label = hostinfo2label(hostkey2hostinfo(host_key), true)
|
||||
if host_key ~= k then
|
||||
label = label .. " · " .. k
|
||||
end
|
||||
|
|
@ -481,7 +481,7 @@ if not is_system_interface then
|
|||
add_inactive_badge(badges)
|
||||
|
||||
hosts[h.host] = {
|
||||
label = hostinfo2hostkey({host=h.host, vlan=h.vlan}),
|
||||
label = hostinfo2label({host=h.host, vlan=h.vlan}, true),
|
||||
ip = h.host,
|
||||
name = h.host,
|
||||
links = links,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue