diff options
author | Michele Campus <fci1908@gmail.com> | 2015-06-29 16:56:54 +0200 |
---|---|---|
committer | Michele Campus <fci1908@gmail.com> | 2015-06-29 16:56:54 +0200 |
commit | 83d46d02d4407d9930d72140f5d1768bc6c7093b (patch) | |
tree | 0c844ae85f44d73ed01ff05f46f48d781d3a53ed /src/lib/protocols/veohtv.c | |
parent | 276a35d36d89accb0d3ad4db7fbc0a052857f892 (diff) | |
parent | 32cdefb7d70bc0e9a59a028758510839fee39685 (diff) |
Merge pull request #1 from kYroL01/no_real
No real
Diffstat (limited to 'src/lib/protocols/veohtv.c')
-rw-r--r-- | src/lib/protocols/veohtv.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/protocols/veohtv.c b/src/lib/protocols/veohtv.c index 10f84c3fd..e24323600 100644 --- a/src/lib/protocols/veohtv.c +++ b/src/lib/protocols/veohtv.c @@ -29,9 +29,9 @@ #ifdef NDPI_PROTOCOL_HTTP_APPLICATION_VEOHTV static void ndpi_int_veohtv_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_HTTP_APPLICATION_VEOHTV, protocol_type); + ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_HTTP_APPLICATION_VEOHTV/* , protocol_type */); } void ndpi_search_veohtv_tcp(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) @@ -59,7 +59,7 @@ void ndpi_search_veohtv_tcp(struct ndpi_detection_module_struct *ndpi_struct, st packet->server_line.len > NDPI_STATICSTRING_LEN("Veoh-") && memcmp(packet->server_line.ptr, "Veoh-", NDPI_STATICSTRING_LEN("Veoh-")) == 0) { NDPI_LOG(NDPI_PROTOCOL_HTTP_APPLICATION_VEOHTV, ndpi_struct, NDPI_LOG_DEBUG, "VeohTV detected.\n"); - ndpi_int_veohtv_add_connection(ndpi_struct, flow, NDPI_CORRELATED_PROTOCOL); + ndpi_int_veohtv_add_connection(ndpi_struct, flow/* , NDPI_CORRELATED_PROTOCOL */); return; } #endif @@ -69,7 +69,7 @@ void ndpi_search_veohtv_tcp(struct ndpi_detection_module_struct *ndpi_struct, st return; } NDPI_LOG(NDPI_PROTOCOL_HTTP_APPLICATION_VEOHTV, ndpi_struct, NDPI_LOG_DEBUG, "VeohTV detected.\n"); - ndpi_int_veohtv_add_connection(ndpi_struct, flow, NDPI_CORRELATED_PROTOCOL); + ndpi_int_veohtv_add_connection(ndpi_struct, flow/* , NDPI_CORRELATED_PROTOCOL */); return; } else if (flow->packet_direction_counter[(flow->setup_packet_direction == 1) ? 0 : 1] > 3) { if (flow->l4.tcp.veoh_tv_stage == 2) { @@ -78,7 +78,7 @@ void ndpi_search_veohtv_tcp(struct ndpi_detection_module_struct *ndpi_struct, st return; } NDPI_LOG(NDPI_PROTOCOL_HTTP_APPLICATION_VEOHTV, ndpi_struct, NDPI_LOG_DEBUG, "VeohTV detected.\n"); - ndpi_int_veohtv_add_connection(ndpi_struct, flow, NDPI_CORRELATED_PROTOCOL); + ndpi_int_veohtv_add_connection(ndpi_struct, flow/* , NDPI_CORRELATED_PROTOCOL */); return; } else { if (flow->packet_counter > 10) { @@ -88,7 +88,7 @@ void ndpi_search_veohtv_tcp(struct ndpi_detection_module_struct *ndpi_struct, st return; } NDPI_LOG(NDPI_PROTOCOL_HTTP_APPLICATION_VEOHTV, ndpi_struct, NDPI_LOG_DEBUG, "VeohTV detected.\n"); - ndpi_int_veohtv_add_connection(ndpi_struct, flow, NDPI_CORRELATED_PROTOCOL); + ndpi_int_veohtv_add_connection(ndpi_struct, flow/* , NDPI_CORRELATED_PROTOCOL */); return; } return; @@ -105,7 +105,7 @@ void ndpi_search_veohtv_tcp(struct ndpi_detection_module_struct *ndpi_struct, st get_u_int32_t(packet->payload, 16) == htonl(0x00000021) && get_u_int32_t(packet->payload, 20) == htonl(0x00000000) && get_u_int32_t(packet->payload, 24) == htonl(0x01040000)) { NDPI_LOG(NDPI_PROTOCOL_HTTP_APPLICATION_VEOHTV, ndpi_struct, NDPI_LOG_DEBUG, "UDP VeohTV found.\n"); - ndpi_int_veohtv_add_connection(ndpi_struct, flow, NDPI_REAL_PROTOCOL); + ndpi_int_veohtv_add_connection(ndpi_struct, flow/* , NDPI_REAL_PROTOCOL */); return; } } |