mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixed warning
This commit is contained in:
parent
5f95f491cd
commit
46f69860c5
1 changed files with 1 additions and 1 deletions
|
|
@ -497,7 +497,7 @@ for _key, _value in ipairs(flows_stats) do
|
|||
|
||||
print ("\", \"column_info\" : \"".. value["info"])
|
||||
|
||||
if(prefs.is_categorization_enabled and (value["info"] ~= "")) then
|
||||
if(prefs.is_categorization_enabled and (value["info"] ~= "") and (key ~= nil)) 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