Fixes Jailed hosts - Unable to remove (#5503)

This commit is contained in:
MatteoBiscosi 2021-06-15 18:59:40 +02:00
parent 4c3baecd60
commit af75c2443c
3 changed files with 27 additions and 19 deletions

View file

@ -2039,11 +2039,7 @@ end
-- ##############################################
function getVlanAlias(vlan_id)
local alias = ntop.getVlanAliasKey(vlan_id) or nil
if not alias then
alias = ntop.getHashCache(getVlanAliasKey(), vlan_id)
end
local alias = ntop.getHashCache(getVlanAliasKey(), vlan_id)
if not isEmptyString(alias) then
return alias