]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
include/linux: Add required NFT_CT_MAX macro
authorPhil Sutter <phil@nwl.cc>
Tue, 8 May 2018 11:08:32 +0000 (13:08 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 11 May 2018 10:16:43 +0000 (12:16 +0200)
This should be dropped for a real UAPI header update.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/nf_tables.h

index 517a39a00e3d53f525557a80a9c29c63da515dbd..3395faf8c0261ce126b6873cd04af885c9662add 100644 (file)
@@ -941,7 +941,9 @@ enum nft_ct_keys {
        NFT_CT_AVGPKT,
        NFT_CT_ZONE,
        NFT_CT_EVENTMASK,
+       __NFT_CT_MAX
 };
+#define NFT_CT_MAX             (__NFT_CT_MAX - 1)
 
 /**
  * enum nft_ct_attributes - nf_tables ct expression netlink attributes