mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added observation points aliases (#5669)
This commit is contained in:
parent
0b62223542
commit
af75ad9054
3 changed files with 12 additions and 20 deletions
|
|
@ -4367,7 +4367,7 @@ end
|
|||
-- ##############################################
|
||||
|
||||
function setObsPointAlias(observation_point_id, alias)
|
||||
if((observation_point_id ~= alias) or isEmptyString(alias)) then
|
||||
if((observation_point_id ~= alias) and not isEmptyString(alias)) then
|
||||
ntop.setHashCache(getObsPointAliasKey(), observation_point_id, alias)
|
||||
else
|
||||
ntop.delHashCache(getObsPointAliasKey(), observation_point_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue