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: 0/0 (search/found)
Automa common alpns: 9/9 (search/found)
Patricia risk mask: 54/0 (search/found)
Patricia risk: 0/0 (search/found)
Patricia protocols: 41/18 (search/found)
Patricia protocols: 39/17 (search/found)
Unknown 3 194 1
DNS 6 1093 3