From de16fd35aa08ab584eaec487c02d31ad7a7a8942 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Tue, 25 Oct 2022 18:24:03 +0200 Subject: Hangout: avoid useless lookups in the protocol tree (#1755) We already performed exactly these lookups in the generic code to populate `flow->guessed_protocol_id_by_ip`: use it! This code probably needs a deeper review, since it is basicaly a simple matching on ip + port. --- tests/result/z3950.pcapng.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/result/z3950.pcapng.out') diff --git a/tests/result/z3950.pcapng.out b/tests/result/z3950.pcapng.out index 106e63c81..01d2771bb 100644 --- a/tests/result/z3950.pcapng.out +++ b/tests/result/z3950.pcapng.out @@ -18,7 +18,7 @@ Automa risk mask: 0/0 (search/found) Automa common alpns: 0/0 (search/found) Patricia risk mask: 4/0 (search/found) Patricia risk: 0/0 (search/found) -Patricia protocols: 8/0 (search/found) +Patricia protocols: 4/0 (search/found) Z3950 31 6308 2 -- cgit v1.2.3