mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fix bad flows number when application filter is active
This commit is contained in:
parent
40c3718be0
commit
233ea9cc2b
1 changed files with 0 additions and 7 deletions
|
|
@ -228,13 +228,6 @@ for key, value in ipairs(flows_stats) do
|
|||
end
|
||||
if(debug and (not process)) then io.write("Stop name\n") end
|
||||
|
||||
---------------- APP ----------------
|
||||
if(application ~= nil) then
|
||||
process = process and (string.ends(flows_stats[key]["proto.ndpi"], application))
|
||||
-- print(flows_stats[key]["proto.ndpi"].." "..application.."<br>")
|
||||
end
|
||||
if(debug and (not process)) then io.write("Stop ndpi\n") end
|
||||
|
||||
---------------- PORT ----------------
|
||||
if(port ~= nil) then
|
||||
process = process and ((flows_stats[key]["cli.port"] == port) or (flows_stats[key]["srv.port"] == port))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue