summaryrefslogtreecommitdiffstats
path: root/src/expr
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr')
-rw-r--r--src/expr/ct.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/expr/ct.c b/src/expr/ct.c
index cdd08e9..0fba0d6 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_ZONE + 1)
+#define NFT_CT_MAX (NFT_CT_EVENTMASK + 1)
#endif
static int
@@ -171,6 +171,7 @@ static const char *ctkey2str_array[NFT_CT_MAX] = {
[NFT_CT_BYTES] = "bytes",
[NFT_CT_AVGPKT] = "avgpkt",
[NFT_CT_ZONE] = "zone",
+ [NFT_CT_EVENTMASK] = "eventmask",
};
static const char *ctkey2str(uint32_t ctkey)