diff options
author | Harald Welte | 2005-08-12 00:31:15 +0200 |
---|---|---|
committer | David S. Miller | 2005-08-30 00:57:03 +0200 |
commit | 5917ed961def82a4dba9198d11a75f79d115a8cb (patch) | |
tree | 4e7ba1b827e70d60cb6fd42ea18bd618757a8908 /include | |
parent | [NETFILTER]: Fix compilation when no PROC_FS enabled (diff) | |
download | kernel-qcow2-linux-5917ed961def82a4dba9198d11a75f79d115a8cb.tar.gz kernel-qcow2-linux-5917ed961def82a4dba9198d11a75f79d115a8cb.tar.xz kernel-qcow2-linux-5917ed961def82a4dba9198d11a75f79d115a8cb.zip |
[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.h | 2 |
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 @@ #define NF_VERDICT_QMASK 0xffff0000 #define NF_VERDICT_QBITS 16 -#define NF_QUEUE_NR(x) ((x << NF_VERDICT_QBITS) & NF_VERDICT_QMASK || NF_QUEUE) +#define NF_QUEUE_NR(x) ((x << NF_VERDICT_QBITS) & NF_VERDICT_QMASK | NF_QUEUE) /* only for userspace compatibility */ #ifndef __KERNEL__ |