Added vlans to flow details (#6663 and #6662)

This commit is contained in:
MatteoBiscosi 2022-06-06 10:20:17 +02:00
parent 7c08cdaf02
commit 8b60f05b14
2 changed files with 11 additions and 1 deletions

View file

@ -5282,7 +5282,7 @@ function format_ip_vlan(ip, vlan)
local host = ip
if (vlan) and (tonumber(vlan) ~= 0) then
host = host .. '@' .. tonumber(vlan)
host = host .. '@' .. (tonumber(vlan) or vlan)
end
return host