Warning fix

This commit is contained in:
Luca Deri
2015-08-18 11:02:29 +02:00
parent a0bef995b6
commit 41fcb7b1c1
2 changed files with 2 additions and 4 deletions
-2
View File
@@ -39,8 +39,6 @@ static void ndpi_int_eaq_add_connection(struct ndpi_detection_module_struct *ndp
void ndpi_search_eaq(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) {
struct ndpi_packet_struct *packet = &flow->packet;
u_int16_t sport = ntohs(packet->udp->source), dport = ntohs(packet->udp->dest);
unsigned char *vers;
int ver_offs;
if((packet->payload_packet_len != EAQ_DEFAULT_SIZE)
|| ((sport != EAQ_DEFAULT_PORT) && (dport != EAQ_DEFAULT_PORT))) {