Fixes service map button not showing

This commit is contained in:
MatteoBiscosi 2021-08-11 10:22:17 +02:00
parent aad505f87a
commit 09cd16d090
2 changed files with 3 additions and 3 deletions

View file

@ -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