From 241c42ad7ed67872aba064c5ffa5aeb0b274c527 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Tue, 12 Dec 2023 19:44:03 +0100 Subject: ndpiReader: fix `guessed_flow_protocols` statistic (#2203) Increment the counter only if the flow has been guessed --- tests/cfgs/disable_protocols/result/soap.pcap.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cfgs/disable_protocols/result/soap.pcap.out') diff --git a/tests/cfgs/disable_protocols/result/soap.pcap.out b/tests/cfgs/disable_protocols/result/soap.pcap.out index 5bbbc57bd..d1417060f 100644 --- a/tests/cfgs/disable_protocols/result/soap.pcap.out +++ b/tests/cfgs/disable_protocols/result/soap.pcap.out @@ -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) -- cgit v1.2.3