summaryrefslogtreecommitdiffstats
path: root/utils/nfqnl_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/nfqnl_test.c')
-rw-r--r--utils/nfqnl_test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/nfqnl_test.c b/utils/nfqnl_test.c
index 7e4edab..7cf27f0 100644
--- a/utils/nfqnl_test.c
+++ b/utils/nfqnl_test.c
@@ -95,8 +95,7 @@ int main(int argc, char **argv)
exit(1);
}
- nh = nfq_nfnlh(h);
- fd = nfnl_fd(nh);
+ fd = nfq_fd(h);
while ((rv = recv(fd, buf, sizeof(buf), 0)) && rv >= 0) {
printf("pkt received\n");