Fixed some invalid TLS guesses

This commit is contained in:
Luca Deri
2021-08-17 19:04:07 +02:00
parent a2ea67152c
commit 821f4c9249
6 changed files with 13 additions and 5 deletions
+3
View File
@@ -5416,6 +5416,9 @@ ndpi_protocol ndpi_detection_process_packet(struct ndpi_detection_module_struct
flow->num_processed_pkts++;
if(flow->num_processed_pkts > NDPI_MAX_NUM_PKTS_PER_FLOW_TO_DISSECT)
return(ret); /* Avoid spending too much time with this flow */
/* Init default */
ret.master_protocol = flow->detected_protocol_stack[1],
ret.app_protocol = flow->detected_protocol_stack[0];