Fixed wrongly vlan redis key

This commit is contained in:
MatteoBiscosi 2021-06-15 17:39:24 +02:00
parent 59421e73a2
commit 7467bf8066

View file

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