diff options
author | Florian Westphal <fw@strlen.de> | 2014-04-24 11:01:11 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2014-04-24 12:01:58 +0200 |
commit | dd6acf7c430f6819584651dc5c8de1958300c67d (patch) | |
tree | db2f5a2edd8b80fcfdd8b9d39b03b70d2cd9f1da /examples | |
parent | 470a2bb2bbf240c978d17985edc2272bdd21e3ca (diff) |
src: PF_BIND/UNBIND is ignored in 3.8 and later
There is confusion on what this command actually does and why
examples commonly PF_UNBIND at startup.
Since these are obsolete document that its not needed starting
with Linux 3.8.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/nf-queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/nf-queue.c b/examples/nf-queue.c index 1f465ad..d6c4b63 100644 --- a/examples/nf-queue.c +++ b/examples/nf-queue.c @@ -136,6 +136,7 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } + /* PF_(UN)BIND is not needed with kernels 3.8 and later */ nlh = nfq_hdr_put(buf, NFQNL_MSG_CONFIG, 0); nfq_nlmsg_cfg_put_cmd(nlh, AF_INET, NFQNL_CFG_CMD_PF_UNBIND); |