Fixes #5733 and the regressions introduced by 13d804e199

Updated code for new nDPI API
This commit is contained in:
Luca Deri 2021-08-07 18:23:44 +02:00
parent 14143d7690
commit aca352452e
6 changed files with 20 additions and 15 deletions

View file

@ -745,7 +745,7 @@ else
print("(<A HREF=\""..ntop.getHttpPrefix().."/lua/")
print("flows_stats.lua?category=" .. flow["proto.ndpi_cat"] .. "\">")
print(getCategoryLabel(flow["proto.ndpi_cat"]))
print("</A>) ".. formatBreed(flow["proto.ndpi_breed"]))
print("</A>) ".. formatBreed(flow["proto.ndpi_breed"], flow["proto.is_encrypted"]))
end
if(flow["verdict.pass"] == false) then print("</strike>") end