diff options
author | Luca Deri <deri@ntop.org> | 2021-08-11 11:52:24 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-08-11 11:52:24 +0200 |
commit | 5c33fbf19b5bab76aca04432fc7fa6f956ff785f (patch) | |
tree | 2a85731111b0ab18a188d82aeeb4cdab816e867e /src/lib/protocols/mail_pop.c | |
parent | 846b546dbc9540d08824cd5fa69e2b683cabfad1 (diff) |
Added extraction of hostname in SMTP
Fixed mail incalid subprotocol calculation
Diffstat (limited to 'src/lib/protocols/mail_pop.c')
-rw-r--r-- | src/lib/protocols/mail_pop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/protocols/mail_pop.c b/src/lib/protocols/mail_pop.c index 9a893bd0d..feb2757a2 100644 --- a/src/lib/protocols/mail_pop.c +++ b/src/lib/protocols/mail_pop.c @@ -45,6 +45,8 @@ static void ndpi_int_mail_pop_add_connection(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) { + + flow->guessed_protocol_id = NDPI_PROTOCOL_UNKNOWN; /* Avoid POP3S to be used s sub-protocol */ ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_MAIL_POP, NDPI_PROTOCOL_UNKNOWN); } |