diff options
author | Luca Deri <deri@ntop.org> | 2022-07-05 17:38:32 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2022-07-05 17:38:32 +0200 |
commit | c019946f601bf3b55f64f78841a0d696e6c0bfc5 (patch) | |
tree | 9b35e9832789617cd5dccae095877d4996ba0223 /src/lib/ndpi_main.c | |
parent | 76459094605efd46bd71ce28ce9616280f4a440d (diff) |
Compilation fix
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index cde3e0b2a..d071d6d9f 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -5339,6 +5339,13 @@ static void ndpi_reconcile_protocols(struct ndpi_detection_module_struct *ndpi_s // printf("====>> %u.%u [%u]\n", ret->master_protocol, ret->app_protocol, flow->detected_protocol_stack[0]); switch(ret->app_protocol) { + case NDPI_PROTOCOL_MAIL_IMAPS: + case NDPI_PROTOCOL_MAIL_SMTPS: + case NDPI_PROTOCOL_MAIL_POPS: + /* ALPN not necessary for secure email */ + NDPI_CLR_BIT(flow->risk, NDPI_TLS_NOT_CARRYING_HTTPS); + break; + /* Skype for a host doing MS Teams means MS Teams (MS Teams uses Skype as transport protocol for voice/video) |