aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-10-22 00:57:35 +0200
committerLuca Deri <deri@ntop.org>2019-10-22 00:57:35 +0200
commit0ffe5cf1ff7ab2ec90b5674936aa0f2555e3d414 (patch)
treee08bce3ecddf67ec7f4a3f7abb282b7413402ee0 /example/reader_util.c
parentd023f9bf2df8b0c548acf37bd8e9c1a842054cdf (diff)
Added extra processing for POP and SMTP
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 */