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.
This commit is contained in:
Ivan Nardi
2022-10-25 18:24:03 +02:00
committed by GitHub
parent ca5ffc4988
commit de16fd35aa
121 changed files with 126 additions and 152 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ Automa risk mask: 5/0 (search/found)
Automa common alpns: 0/0 (search/found)
Patricia risk mask: 100/0 (search/found)
Patricia risk: 0/0 (search/found)
Patricia protocols: 98/8 (search/found)
Patricia protocols: 97/7 (search/found)
Unknown 8 596 2
DNS 26 2848 7