mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
parent
7c08cdaf02
commit
8b60f05b14
2 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue