aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/ssl.c
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2015-07-01 16:32:34 +0200
committerLuca Deri <lucaderi@users.noreply.github.com>2015-07-01 16:32:34 +0200
commit68af5c221d349a555565ca4d64db25b7554db3a8 (patch)
tree7f896066aebfb9894712e6173bac26d9cf54f175 /src/lib/protocols/ssl.c
parent276a35d36d89accb0d3ad4db7fbc0a052857f892 (diff)
parent408922786397e2dfb0f99b5f0618c85bae568552 (diff)
Merge pull request #53 from kYroL01/dev
deleted protocol_type (real-correlated)
Diffstat (limited to 'src/lib/protocols/ssl.c')
-rw-r--r--src/lib/protocols/ssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/protocols/ssl.c b/src/lib/protocols/ssl.c
index f4b70ed62..ca6b9cd7b 100644
--- a/src/lib/protocols/ssl.c
+++ b/src/lib/protocols/ssl.c
@@ -40,7 +40,7 @@ static void ndpi_int_ssl_add_connection(struct ndpi_detection_module_struct *ndp
{
if((protocol != NDPI_PROTOCOL_SSL)
&& (protocol != NDPI_PROTOCOL_SSL_NO_CERT)) {
- ndpi_int_add_connection(ndpi_struct, flow, protocol, NDPI_CORRELATED_PROTOCOL);
+ ndpi_int_add_connection(ndpi_struct, flow, protocol/* , NDPI_CORRELATED_PROTOCOL */);
} else {
struct ndpi_packet_struct *packet = &flow->packet;
@@ -76,7 +76,7 @@ static void ndpi_int_ssl_add_connection(struct ndpi_detection_module_struct *ndp
}
}
- ndpi_int_add_connection(ndpi_struct, flow, protocol, NDPI_REAL_PROTOCOL);
+ ndpi_int_add_connection(ndpi_struct, flow, protocol/* , NDPI_REAL_PROTOCOL */);
}
}
@@ -569,7 +569,7 @@ void ndpi_search_ssl_tcp(struct ndpi_detection_module_struct *ndpi_struct, struc
&& (packet->payload[4] == 0)
&& (packet->payload[2] <= 9)
&& (packet->payload[3] <= 9))) {
- ndpi_int_add_connection(ndpi_struct, flow, NDPI_SERVICE_WHATSAPP, NDPI_REAL_PROTOCOL);
+ ndpi_int_add_connection(ndpi_struct, flow, NDPI_SERVICE_WHATSAPP/* , NDPI_REAL_PROTOCOL */);
return;
} else {
/* No whatsapp, let's try SSL */