mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +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
|
|
@ -167,7 +167,7 @@ if (_GET["hosts"] ~= nil) then
|
|||
vlan_id = " "
|
||||
end
|
||||
|
||||
local name = host2name(host_ip, vlan_id)
|
||||
local name = ip2label(host_ip, vlan_id)
|
||||
|
||||
print ("\t{\"name\": \"" .. name .. "\", \"ip\": \"" .. host_ip .. "\", \"vlan\": \"" .. vlan_id .. "\"}")
|
||||
node_size = node_size + 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue