Fix label for inactive hosts (hide vlan 0)

This commit is contained in:
Alfredo Cardigliano 2022-05-18 10:48:28 +02:00
parent 0aa9c899df
commit cf813db892

View file

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