Added vlan description

This commit is contained in:
l3wiz 2021-06-17 14:43:25 +02:00
parent 2e8a6de0fc
commit eb869c517f
6 changed files with 69 additions and 13 deletions

View file

@ -2065,7 +2065,7 @@ end
function getFullVlanName(vlan_id)
local alias = setVlanAlias(vlan_id)
if alias ~= vlan_id then
if (tostring(alias)) ~= (tostring(vlan_id)) then
return string.format("%s [%s]", alias, vlan_id)
end