History

netfilter: nf_tables: correct NFT_LOGLEVEL_MAX value

should be same as NFT_LOGLEVEL_AUDIT, so use -, not +.

Florian Westphal committed 7 years ago

Commit 92285a01 parent c6c9c051 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+1−1
@@ -1134,7 +1134,7 @@ enum nft_log_level { · 1133 unmodified lines
1134 NFT_LOGLEVEL_AUDIT,1134 NFT_LOGLEVEL_AUDIT,
1135 __NFT_LOGLEVEL_MAX1135 __NFT_LOGLEVEL_MAX
1136};1136};
1137#define NFT_LOGLEVEL_MAX (__NFT_LOGLEVEL_MAX + 1)1137#define NFT_LOGLEVEL_MAX (__NFT_LOGLEVEL_MAX - 1)
1138 1138
1139/**1139/**
1140 * enum nft_queue_attributes - nf_tables queue expression netlink attributes1140 * enum nft_queue_attributes - nf_tables queue expression netlink attributes