Fixes ndpi application duplication ids

This commit is contained in:
Matteo Biscosi 2023-07-13 14:52:05 +00:00
parent 5f431e14a5
commit 219d57e362
3 changed files with 15 additions and 6 deletions

View file

@ -644,7 +644,7 @@ end
function setCustomnDPIProtoCategory(app_id, new_cat_id)
ntop.setnDPIProtoCategory(app_id, new_cat_id)
local key = getCustomnDPIProtoCategoriesKey(ifid)
local key = getCustomnDPIProtoCategoriesKey()
-- NOTE: when the ndpi struct changes, the custom associations are
-- reloaded by Ntop::loadProtocolsAssociations