diff options
Diffstat (limited to 'src/expr/ct.c')
-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 e680738..d3d352e 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_BYTES + 1) +#define NFT_CT_MAX (NFT_CT_AVGPKT + 1) #endif static int @@ -169,6 +169,7 @@ static const char *ctkey2str_array[NFT_CT_MAX] = { [NFT_CT_LABELS] = "label", [NFT_CT_PKTS] = "packets", [NFT_CT_BYTES] = "bytes", + [NFT_CT_AVGPKT] = "avgpkt", }; static const char *ctkey2str(uint32_t ctkey) |