mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes service map button not showing
This commit is contained in:
parent
aad505f87a
commit
09cd16d090
2 changed files with 3 additions and 3 deletions
|
|
@ -4371,7 +4371,7 @@ function builMapHREF(service_peer, vlan_id, map, default_page)
|
|||
dev_type = minfo["devtype"]
|
||||
end
|
||||
|
||||
if service_peer.ip and service_peer.is_mac then
|
||||
if (service_peer.ip and service_peer.is_mac) or not service_peer.is_mac then
|
||||
local hinfo = interface.getHostMinInfo(service_peer.ip or service_peer.host, service_peer.vlan)
|
||||
name = hostinfo2label(hinfo or service_peer)
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue