Added vlan support to exclusion lists (#6510)

This commit is contained in:
MatteoBiscosi 2022-05-24 12:22:18 +02:00
parent bb84f56a5e
commit 72f814c36c
13 changed files with 259 additions and 193 deletions

View file

@ -1903,12 +1903,12 @@ function hostinfo2label(host_info, show_vlan, shorten_len)
res = getHostAltName(ip)
if isEmptyString(res) then
-- Read what is found inside host `name`, e.g., name as found by dissected traffic such as DHCP
res = host_info["name"]
-- Read what is found inside host `name`, e.g., name as found by dissected traffic such as DHCP
res = host_info["name"]
if isEmptyString(res) then
return hostinfo2label_resolved(host_info, show_vlan, shorten_len)
end
if isEmptyString(res) then
return hostinfo2label_resolved(host_info, show_vlan, shorten_len)
end
end
end