diff options
Diffstat (limited to '_log')
-rw-r--r-- | _log/utils/nfulnl_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_log/utils/nfulnl_test.c b/_log/utils/nfulnl_test.c index bfcfaf9..06db38f 100644 --- a/_log/utils/nfulnl_test.c +++ b/_log/utils/nfulnl_test.c @@ -24,7 +24,7 @@ int main(int argc, char **argv) nfulnl_bind_group(&h, &qh100, 100); nfulnl_set_mode(&qh, NFULNL_COPY_PACKET, 0xffff); - while (recv(h.nfnlh.fd, buf, sizeof(buf), 0) > 0) { + while (recv(h.nfnlh.fd, buf, sizeof(buf), 0) >= 0) { printf("pkt received\n"); } |