mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Various optimizations for malware flow categorization (-c)
This commit is contained in:
parent
71389f81d3
commit
dc746b45b3
8 changed files with 30 additions and 34 deletions
|
|
@ -525,7 +525,7 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
|
||||
print ("\", \"column_info\" : \"".. value["info"])
|
||||
|
||||
if(prefs.is_categorization_enabled) then
|
||||
if(prefs.is_categorization_enabled and (value["info"] ~= "")) then
|
||||
flow = interface.findFlowByKey(tonumber(key))
|
||||
if(flow ~= nil) then value["category"] = flow["category"] end
|
||||
if(value["category"] ~= "") then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue