Finalized active monitoring page

This commit is contained in:
Matteo Biscosi 2025-01-29 12:24:39 +01:00
parent 355e0d355f
commit ddc6ce921a
10 changed files with 218 additions and 32 deletions

View file

@ -617,26 +617,6 @@ end
-- ##############################################
-- This function set the interface alias, return true if the
-- alias is set, false otherwise
function setInterfaceAlias(iface, alias)
local ok = true
if (isEmptyString(iface)) then
ok = false
end
if (ok and (iface ~= alias) and not isEmptyString(alias)) then
ntop.setCache(getInterfaceAliasKey(iface), alias)
else
ok = false
end
return ok
end
-- ##############################################
function setLocalNetworkAlias(network, alias)
if ((network ~= alias) or isEmptyString(alias)) then
ntop.setHashCache(getLocalNetworkAliasKey(), network, alias)