diff options
Diffstat (limited to 'src/expr')
-rw-r--r-- | src/expr/ct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/ct.c b/src/expr/ct.c index 4c18dde..38f5169 100644 --- a/src/expr/ct.c +++ b/src/expr/ct.c @@ -33,7 +33,7 @@ struct nft_expr_ct { #define IP_CT_DIR_REPLY 1 #ifndef NFT_CT_MAX -#define NFT_CT_MAX (NFT_CT_LABEL + 1) +#define NFT_CT_MAX (NFT_CT_LABELS + 1) #endif static int @@ -171,7 +171,7 @@ const char *ctkey2str_array[NFT_CT_MAX] = { [NFT_CT_DST] = "dst", [NFT_CT_PROTO_SRC] = "proto_src", [NFT_CT_PROTO_DST] = "proto_dst", - [NFT_CT_LABEL] = "label", + [NFT_CT_LABELS] = "label", }; static const char *ctkey2str(uint32_t ctkey) |