First step in simplify ndpi_process_extra_packet() (#1680)

Move the prottocol specific logic into the proper dissector code, where
it belongs.

Next step: remove that list of protocols. Long goal: remove this
function altogether...
This commit is contained in:
Ivan Nardi
2022-07-29 12:07:14 +02:00
committed by GitHub
parent 172e698bb8
commit 95e16872fa
5 changed files with 16 additions and 45 deletions
+3
View File
@@ -370,6 +370,9 @@ static int search_dns_again(struct ndpi_detection_module_struct *ndpi_struct, st
/* possibly dissect the DNS reply */
ndpi_search_dns(ndpi_struct, flow);
if(flow->protos.dns.num_answers != 0)
return(0);
/* Possibly more processing */
return(1);
}