diff --git a/scripts/lua/rest/v2/get/host/find.lua b/scripts/lua/rest/v2/get/host/find.lua index b7d83dbe6c..743ea00f2d 100644 --- a/scripts/lua/rest/v2/get/host/find.lua +++ b/scripts/lua/rest/v2/get/host/find.lua @@ -458,7 +458,7 @@ if not is_system_interface then add_inactive_badge(badges) hosts[host_key] = { - label = host_key, + label = hostinfo2hostkey({host=h.host, vlan=h.vlan}), name = host_key, ip = host_key, links = links,