mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fixes application page not correctly saving the changes (#7024)
This commit is contained in:
parent
4f29489ef5
commit
af27e50699
2 changed files with 12 additions and 12 deletions
|
|
@ -1340,18 +1340,6 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function setCustomnDPIProtoCategory(app_id, new_cat_id)
|
||||
ntop.setnDPIProtoCategory(app_id, new_cat_id)
|
||||
|
||||
local key = getCustomnDPIProtoCategoriesKey(ifid)
|
||||
|
||||
-- NOTE: when the ndpi struct changes, the custom associations are
|
||||
-- reloaded by Ntop::loadProtocolsAssociations
|
||||
ntop.setHashCache(key, tostring(app_id), tostring(new_cat_id));
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
-- "Some Very Long String" -> "Some Ver...g String"
|
||||
function shortenCollapse(s, max_len)
|
||||
local replacement = "..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue