Minor fix

This commit is contained in:
Luca Deri
2019-12-29 22:27:48 +01:00
parent 9fb3a57a71
commit 499c80535b
+1 -4
View File
@@ -107,10 +107,7 @@ static void ndpi_search_oscar_tcp_connect(struct ndpi_detection_module_struct
u_int16_t family;
u_int16_t type;
u_int16_t flag;
u_int32_t req_ID;
struct ndpi_packet_struct * packet = &flow->packet;
struct ndpi_id_struct * src = flow->src;
struct ndpi_id_struct * dst = flow->dst;
@@ -579,7 +576,7 @@ static void ndpi_search_oscar_tcp_connect(struct ndpi_detection_module_struct
if(packet->payload_packet_len >= 16)
{
/* request ID */
req_ID = get_u_int32_t(packet->payload, 12);
// u_int32_t req_ID = get_u_int32_t(packet->payload, 12);
/* if((req_ID <= ((u_int32_t)-1))) */
{
NDPI_LOG_INFO(ndpi_struct, "found OSCAR\n");