projects
/
platform
/
upstream
/
libnetfilter_queue.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
572cf77
)
Use nfq_fd function instead of call to nfnetlink function.
author
Eric Leblond
<eric@inl.fr>
Wed, 17 Dec 2008 20:27:58 +0000
(21:27 +0100)
committer
r.kubiak
<r.kubiak@samsung.com>
Mon, 16 Nov 2015 13:12:05 +0000
(14:12 +0100)
This patch modifies the example program to use nfq_fd function
instead of call to nfnetlink function.
Signed-off-by: Eric Leblond <eric@inl.fr>
utils/nfqnl_test.c
patch
|
blob
|
history
diff --git
a/utils/nfqnl_test.c
b/utils/nfqnl_test.c
index
7e4edab
..
7cf27f0
100644
(file)
--- 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");