aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/rx.c
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2016-04-26 15:02:32 +0200
committerCampus <campus@ntop.org>2016-04-26 15:02:32 +0200
commit1d17ece9ced8a35bba5bf10a77e59fd0d6fec3c3 (patch)
treee93c4fae55c7723cc14990a85754960100fe6460 /src/lib/protocols/rx.c
parent34ce35dcfacf9aee4581092a09e3756e3ff7a04f (diff)
fix missing conditional and
Diffstat (limited to 'src/lib/protocols/rx.c')
-rw-r--r--src/lib/protocols/rx.c4
1 files changed, 2 insertions, 2 deletions
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;