aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/crossfire.c
diff options
context:
space:
mode:
authorMichele Campus <fci1908@gmail.com>2015-06-29 16:24:51 +0200
committerMichele Campus <fci1908@gmail.com>2015-06-29 16:24:51 +0200
commit8da7af7b7b37724f8dcbce6c0b36962db36ef047 (patch)
tree46e7a842426a872fa49883b4f320a293edb2b55a /src/lib/protocols/crossfire.c
parent40292a737a994f0a9c36bcaf2c20a269e5673594 (diff)
deleted protocol type (real-correlated)
Diffstat (limited to 'src/lib/protocols/crossfire.c')
-rw-r--r--src/lib/protocols/crossfire.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/protocols/crossfire.c b/src/lib/protocols/crossfire.c
index cb5b3520f..46e7f1fd6 100644
--- a/src/lib/protocols/crossfire.c
+++ b/src/lib/protocols/crossfire.c
@@ -29,10 +29,10 @@
static void ndpi_int_crossfire_add_connection(struct ndpi_detection_module_struct *ndpi_struct,
- struct ndpi_flow_struct *flow, ndpi_protocol_type_t protocol_type)
+ struct ndpi_flow_struct *flow/* , ndpi_protocol_type_t protocol_type */)
{
- ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_CROSSFIRE, protocol_type);
+ ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_CROSSFIRE/* , protocol_type */);
}
void ndpi_search_crossfire_tcp_udp(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow)
@@ -51,7 +51,7 @@ void ndpi_search_crossfire_tcp_udp(struct ndpi_detection_module_struct *ndpi_str
&& get_u_int16_t(packet->payload, 22) == ntohs(0x7d00)
) {
NDPI_LOG(NDPI_PROTOCOL_CROSSFIRE, ndpi_struct, NDPI_LOG_DEBUG, "Crossfire: found udp packet.\n");
- ndpi_int_crossfire_add_connection(ndpi_struct, flow, NDPI_REAL_PROTOCOL);
+ ndpi_int_crossfire_add_connection(ndpi_struct, flow/* , NDPI_REAL_PROTOCOL */);
return;
}
@@ -69,7 +69,7 @@ void ndpi_search_crossfire_tcp_udp(struct ndpi_detection_module_struct *ndpi_str
|| memcmp(packet->host_line.ptr, "www.crossfire", 13) == 0))
) {
NDPI_LOG(NDPI_PROTOCOL_CROSSFIRE, ndpi_struct, NDPI_LOG_DEBUG, "Crossfire: found HTTP request.\n");
- ndpi_int_crossfire_add_connection(ndpi_struct, flow, NDPI_CORRELATED_PROTOCOL);
+ ndpi_int_crossfire_add_connection(ndpi_struct, flow/* , NDPI_CORRELATED_PROTOCOL */);
return;
}
}