Fixes possible crash on custom application editing

This commit is contained in:
Matteo Biscosi 2024-01-30 15:08:26 +00:00
parent de544cb1f9
commit 3f703ca062
3 changed files with 14 additions and 21 deletions

View file

@ -53,7 +53,6 @@ end
if l7_proto_id then
l7_proto_id = tonumber(l7_proto_id)
local custom_categories = getCustomnDPIProtoCategories()
local old_category = ntop.getnDPIProtoCategory(l7_proto_id)
if old_category.id ~= l7_category then