aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index a8b91cd8e..8f879b0b6 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -1217,8 +1217,9 @@ static struct ndpi_proto packet_processing(struct ndpi_workflow * workflow,
if(enough_packets || (flow->detected_protocol.app_protocol != NDPI_PROTOCOL_UNKNOWN)) {
if((!enough_packets)
+ // TODO: remove the line below
&& (flow->detected_protocol.master_protocol == NDPI_PROTOCOL_TLS)
- && (!flow->ndpi_flow->l4.tcp.tls_srv_cert_fingerprint_processed))
+ && ndpi_extra_dissection_possible(workflow->ndpi_struct, ndpi_flow))
; /* Wait for certificate fingerprint */
else {
/* New protocol detected or give up */