mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
parent
97d1a12661
commit
fdfa2c6246
1 changed files with 8 additions and 2 deletions
|
|
@ -1537,10 +1537,16 @@ function hostinfo2label(host_info, show_vlan)
|
|||
end
|
||||
|
||||
alt_name = getHostAltName(ip)
|
||||
|
||||
|
||||
if not isEmptyString(alt_name) then
|
||||
alt_name = add_vlan_to_alt_name(alt_name, host_info, show_vlan)
|
||||
|
||||
if isIPv6(ip) == true then
|
||||
alt_name = alt_name .. " [IPv6]"
|
||||
end
|
||||
|
||||
-- Adding the vlan if requested
|
||||
return add_vlan_to_alt_name(alt_name, host_info, show_vlan)
|
||||
return alt_name
|
||||
end
|
||||
|
||||
-- Name info from C (e.g. DHCP name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue