aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2005-08-11 18:31:15 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:57:03 -0400
commit5917ed961def82a4dba9198d11a75f79d115a8cb (patch)
tree4e7ba1b827e70d60cb6fd42ea18bd618757a8908 /include
parent622439270c74f3ad4f69d1417aca4bb3b79514f4 (diff)
[NETFILTER]: Fix NF_QUEUE_NR() macro
I obviously wanted to use bitwise-or, not logical or. Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index ac3c61411d4b..189ba67ba603 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -29,7 +29,7 @@
29#define NF_VERDICT_QMASK 0xffff0000 29#define NF_VERDICT_QMASK 0xffff0000
30#define NF_VERDICT_QBITS 16 30#define NF_VERDICT_QBITS 16
31 31
32#define NF_QUEUE_NR(x) ((x << NF_VERDICT_QBITS) & NF_VERDICT_QMASK || NF_QUEUE) 32#define NF_QUEUE_NR(x) ((x << NF_VERDICT_QBITS) & NF_VERDICT_QMASK | NF_QUEUE)
33 33
34/* only for userspace compatibility */ 34/* only for userspace compatibility */
35#ifndef __KERNEL__ 35#ifndef __KERNEL__