mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fix VLAN page Untagged traffic case. (#7998)
This commit is contained in:
parent
0de8d4e98e
commit
056c585a04
2 changed files with 3 additions and 2 deletions
|
|
@ -515,8 +515,9 @@ function getFullVlanName(vlan_id, compact)
|
|||
local alias = getVlanAlias(vlan_id)
|
||||
|
||||
-- In case of vlan 0, return empty string as name
|
||||
-- fix for untagged vlan (#7998)
|
||||
if tonumber(vlan_id) == 0 then
|
||||
return ''
|
||||
return i18n('no_vlan')
|
||||
end
|
||||
|
||||
if not isEmptyString(alias) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue