summaryrefslogtreecommitdiff
path: root/extcap
diff options
context:
space:
mode:
Diffstat (limited to 'extcap')
-rw-r--r--extcap/androiddump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/androiddump.c b/extcap/androiddump.c
index 0954596e44..7b57b5a63a 100644
--- a/extcap/androiddump.c
+++ b/extcap/androiddump.c
@@ -2644,7 +2644,7 @@ static int capture_android_wifi_tcpdump(char *interface, char *fifo,
return EXIT_CODE_GENERIC;
}
- if (used_buffer_length += length > 1) {
+ if ((used_buffer_length += length) > 1) {
break;
}
}