Fixes incorrect category label seen (#6767)

This commit is contained in:
MatteoBiscosi 2022-07-07 11:09:52 +02:00
parent 3d2f143ecb
commit 79b19f328a
2 changed files with 2 additions and 2 deletions

View file

@ -1602,7 +1602,7 @@ function computeL7Stats(stats, show_breed, show_ndpi_category)
local ndpi_category_stats = {}
for key, value in pairs(stats["ndpi_categories"]) do
key = getCategoryLabel(key)
key = getCategoryLabel(key, value.category)
local traffic = value["bytes"]
if(ndpi_category_stats[key] == nil) then