ndpiReader: fix guessed_flow_protocols statistic (#2203)

Increment the counter only if the flow has been guessed
This commit is contained in:
Ivan Nardi
2023-12-12 19:44:03 +01:00
committed by GitHub
parent 7b5354588b
commit 241c42ad7e
432 changed files with 43 additions and 825 deletions
@@ -1,5 +1,3 @@
Guessed flow protos: 0
DPI Packets (TCP): 33 (5.50 pkts/flow)
Confidence DPI : 6 (flows)
Num dissector calls: 6 (1.00 diss/flow)
@@ -1,4 +1,4 @@
Guessed flow protos: 3
Guessed flow protos: 2
DPI Packets (TCP): 20 (6.67 pkts/flow)
Confidence Match by port : 2 (flows)