mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Rework host label getters
This fixes inconsistencies across the ntopng gui Addresses #3699
This commit is contained in:
parent
ebbe0155e3
commit
ba5c64b107
28 changed files with 136 additions and 139 deletions
|
|
@ -39,7 +39,7 @@ for _, configset in pairs(config_sets) do
|
|||
elseif(target_type == "network") then
|
||||
label = getLocalNetworkAlias(target)
|
||||
elseif(target_type == "cidr") then
|
||||
label = getHostAltName(target)
|
||||
label = hostinfo2label(hostkey2hostinfo(target))
|
||||
end
|
||||
|
||||
targets[#targets + 1] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue