diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/expr/ct.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/expr/ct.c b/src/expr/ct.c index d3d352e..cdd08e9 100644 --- a/src/expr/ct.c +++ b/src/expr/ct.c @@ -32,7 +32,7 @@ struct nftnl_expr_ct { #define IP_CT_DIR_REPLY 1 #ifndef NFT_CT_MAX -#define NFT_CT_MAX (NFT_CT_AVGPKT + 1) +#define NFT_CT_MAX (NFT_CT_ZONE + 1) #endif static int @@ -170,6 +170,7 @@ static const char *ctkey2str_array[NFT_CT_MAX] = { [NFT_CT_PKTS] = "packets", [NFT_CT_BYTES] = "bytes", [NFT_CT_AVGPKT] = "avgpkt", + [NFT_CT_ZONE] = "zone", }; static const char *ctkey2str(uint32_t ctkey) |