diff options
author | Campus <campus@ntop.org> | 2016-08-12 15:51:41 +0200 |
---|---|---|
committer | Campus <campus@ntop.org> | 2016-08-12 15:51:41 +0200 |
commit | 5e399498c3ca5a1c6c66200bd16105a0beca00a5 (patch) | |
tree | 28ae75c76be85909747df7a5b40301f80b6e729e /src | |
parent | 3bfa0217604c22fad62928cd442bfd03e8aa82ce (diff) |
minor fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/protocols/mail_imap.c | 7 | ||||
-rw-r--r-- | src/lib/protocols/ssl.c | 3 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/protocols/mail_imap.c b/src/lib/protocols/mail_imap.c index 9d045226a..4e352583e 100644 --- a/src/lib/protocols/mail_imap.c +++ b/src/lib/protocols/mail_imap.c @@ -1,8 +1,7 @@ /* * mail_imap.c * - * Copyright (C) 2009-2011 by ipoque GmbH - * Copyright (C) 2011-15 - ntop.org + * Copyright (C) 2016 - ntop.org * * This file is part of nDPI, an open source deep packet inspection * library based on the OpenDPI and PACE technology by ipoque GmbH @@ -108,8 +107,8 @@ void ndpi_search_mail_imap_tcp(struct ndpi_detection_module_struct *ndpi_struct, && (packet->payload[command_start + 1] == 'K' || packet->payload[command_start + 1] == 'k') && packet->payload[command_start + 2] == ' ') { flow->l4.tcp.mail_imap_stage += 1; - if (flow->l4.tcp.mail_imap_starttls == 1) - flow->l4.tcp.mail_imap_starttls = 2; + if (flow->l4.tcp.mail_imap_starttls == 1) + flow->l4.tcp.mail_imap_starttls = 2; saw_command = 1; } else if ((packet->payload[command_start] == 'U' || packet->payload[command_start] == 'u') && (packet->payload[command_start + 1] == 'I' || packet->payload[command_start + 1] == 'i') diff --git a/src/lib/protocols/ssl.c b/src/lib/protocols/ssl.c index 4e2ce1bf1..02f64842b 100644 --- a/src/lib/protocols/ssl.c +++ b/src/lib/protocols/ssl.c @@ -1,8 +1,7 @@ /* * ssl.c * - * Copyright (C) 2009-2011 by ipoque GmbH - * Copyright (C) 2011-15 - ntop.org + * Copyright (C) 2016 - ntop.org * * This file is part of nDPI, an open source deep packet inspection * library based on the OpenDPI and PACE technology by ipoque GmbH |