From 1d17ece9ced8a35bba5bf10a77e59fd0d6fec3c3 Mon Sep 17 00:00:00 2001 From: Campus Date: Tue, 26 Apr 2016 15:02:32 +0200 Subject: fix missing conditional and --- src/lib/protocols/rx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/protocols/rx.c') diff --git a/src/lib/protocols/rx.c b/src/lib/protocols/rx.c index 432c8a069..41120435c 100644 --- a/src/lib/protocols/rx.c +++ b/src/lib/protocols/rx.c @@ -116,7 +116,7 @@ void ndpi_check_rx(struct ndpi_detection_module_struct *ndpi_struct, /* FLAGS fields */ if(header->flags != EMPTY && header->flags != LAST_PKT && header->flags != PLUS_0 && header->flags != PLUS_1 && - header->flags != PLUS_2 && header->flags != REQ_ACK & + header->flags != PLUS_2 && header->flags != REQ_ACK && header->flags != MORE_1 && header->flags != CLIENT_INIT_1 && header->flags != CLIENT_INIT_2) { exclude = 1; @@ -126,7 +126,7 @@ void ndpi_check_rx(struct ndpi_detection_module_struct *ndpi_struct, if(header->type == DATA) { if(header->flags != LAST_PKT && header->flags != EMPTY && header->flags != PLUS_0 && header->flags != PLUS_1 && - header->flags != PLUS_2 && header->flags != REQ_ACK & + header->flags != PLUS_2 && header->flags != REQ_ACK && header->flags != MORE_1) { exclude = 1; goto end; -- cgit v1.2.3