mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Properly handles Host os without shadows
This commit is contained in:
parent
50e32be5a7
commit
d187b82560
10 changed files with 80 additions and 48 deletions
|
|
@ -1386,6 +1386,7 @@ function getHostAltName(host_ip, host_mac)
|
|||
end
|
||||
|
||||
alt_name = ntop.getHashCache(getHostAltNamesKey(), host_ip)
|
||||
|
||||
if (isEmptyString(alt_name) and (host_mac ~= nil)) then
|
||||
alt_name = ntop.getHashCache(getHostAltNamesKey(), host_mac)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue