mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
netfilter: nf_tables: correct NFT_LOGLEVEL_MAX value
[ Upstream commit92285a079e
] should be same as NFT_LOGLEVEL_AUDIT, so use -, not +. Fixes:7eced5ab5a
("netfilter: nf_tables: add NFT_LOGLEVEL_* enumeration and use it") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
9245e019e5
commit
1f791d99e8
1 changed files with 1 additions and 1 deletions
|
@ -1128,7 +1128,7 @@ enum nft_log_level {
|
|||
NFT_LOGLEVEL_AUDIT,
|
||||
__NFT_LOGLEVEL_MAX
|
||||
};
|
||||
#define NFT_LOGLEVEL_MAX (__NFT_LOGLEVEL_MAX + 1)
|
||||
#define NFT_LOGLEVEL_MAX (__NFT_LOGLEVEL_MAX - 1)
|
||||
|
||||
/**
|
||||
* enum nft_queue_attributes - nf_tables queue expression netlink attributes
|
||||
|
|
Loading…
Reference in a new issue