diff options
| author | Ken-ichirou MATSUZAWA <chamaken@gmail.com> | 2017-02-16 04:20:33 -0500 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-02-21 07:45:45 -0500 |
| commit | ba896a05ad9375912ccebdac9623aab97845600f (patch) | |
| tree | 657df2279579e14945105fd5a4a605070e8a3706 | |
| parent | ad5b55761956427f61ed9c96961bf9c5cd4f92dc (diff) | |
netfilter: nfnetlink_queue: fix NFQA_VLAN_MAX definition
Should be - 1 as in other _MAX definitions.
Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
| -rw-r--r-- | include/uapi/linux/netfilter/nfnetlink_queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/netfilter/nfnetlink_queue.h b/include/uapi/linux/netfilter/nfnetlink_queue.h index ae30841ff94e..d42f0396fe30 100644 --- a/include/uapi/linux/netfilter/nfnetlink_queue.h +++ b/include/uapi/linux/netfilter/nfnetlink_queue.h | |||
| @@ -36,7 +36,7 @@ enum nfqnl_vlan_attr { | |||
| 36 | NFQA_VLAN_TCI, /* __be16 skb htons(vlan_tci) */ | 36 | NFQA_VLAN_TCI, /* __be16 skb htons(vlan_tci) */ |
| 37 | __NFQA_VLAN_MAX, | 37 | __NFQA_VLAN_MAX, |
| 38 | }; | 38 | }; |
| 39 | #define NFQA_VLAN_MAX (__NFQA_VLAN_MAX + 1) | 39 | #define NFQA_VLAN_MAX (__NFQA_VLAN_MAX - 1) |
| 40 | 40 | ||
| 41 | enum nfqnl_attr_type { | 41 | enum nfqnl_attr_type { |
| 42 | NFQA_UNSPEC, | 42 | NFQA_UNSPEC, |
