summaryrefslogtreecommitdiffstats
path: root/src/libnetfilter_queue.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2014-04-24 11:01:11 +0200
committerFlorian Westphal <fw@strlen.de>2014-04-24 12:01:58 +0200
commitdd6acf7c430f6819584651dc5c8de1958300c67d (patch)
treedb2f5a2edd8b80fcfdd8b9d39b03b70d2cd9f1da /src/libnetfilter_queue.c
parent470a2bb2bbf240c978d17985edc2272bdd21e3ca (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 'src/libnetfilter_queue.c')
-rw-r--r--src/libnetfilter_queue.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libnetfilter_queue.c b/src/libnetfilter_queue.c
index 32725d1..740b340 100644
--- a/src/libnetfilter_queue.c
+++ b/src/libnetfilter_queue.c
@@ -455,8 +455,9 @@ EXPORT_SYMBOL(nfq_close);
* \param h Netfilter queue connection handle obtained via call to nfq_open()
* \param pf protocol family to bind to nfqueue handler obtained from nfq_open()
*
- * Binds the given queue connection handle to process packets belonging to
+ * Binds the given queue connection handle to process packets belonging to
* the given protocol family (ie. PF_INET, PF_INET6, etc).
+ * This call is obsolete, Linux kernels from 3.8 onwards ignore it.
*
* \return integer inferior to 0 in case of failure
*/
@@ -473,6 +474,8 @@ EXPORT_SYMBOL(nfq_bind_pf);
*
* Unbinds the given queue connection handle from processing packets belonging
* to the given protocol family.
+ *
+ * This call is obsolete, Linux kernels from 3.8 onwards ignore it.
*/
int nfq_unbind_pf(struct nfq_handle *h, u_int16_t pf)
{