diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2015-07-01 16:32:34 +0200 |
---|---|---|
committer | Luca Deri <lucaderi@users.noreply.github.com> | 2015-07-01 16:32:34 +0200 |
commit | 68af5c221d349a555565ca4d64db25b7554db3a8 (patch) | |
tree | 7f896066aebfb9894712e6173bac26d9cf54f175 /src/lib/protocols/crossfire.c | |
parent | 276a35d36d89accb0d3ad4db7fbc0a052857f892 (diff) | |
parent | 408922786397e2dfb0f99b5f0618c85bae568552 (diff) |
Merge pull request #53 from kYroL01/dev
deleted protocol_type (real-correlated)
Diffstat (limited to 'src/lib/protocols/crossfire.c')
-rw-r--r-- | src/lib/protocols/crossfire.c | 8 |
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; } } |