mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Implements #4945 add label to local networks
This commit is contained in:
parent
9acd6553ed
commit
770abf38ac
6 changed files with 96 additions and 8 deletions
|
|
@ -1862,7 +1862,11 @@ end
|
|||
-- ##############################################
|
||||
|
||||
function getLocalNetworkAlias(network)
|
||||
local alias = ntop.getHashCache(getLocalNetworkAliasKey(), network)
|
||||
local alias = ntop.getLocalNetworkAlias(network) or nil
|
||||
|
||||
if not alias then
|
||||
ntop.getHashCache(getLocalNetworkAliasKey(), network)
|
||||
end
|
||||
|
||||
if not isEmptyString(alias) then
|
||||
return alias
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue