summaryrefslogtreecommitdiffstats
path: root/src/expr/ct.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/ct.c')
-rw-r--r--src/expr/ct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/ct.c b/src/expr/ct.c
index 866c743..99448c6 100644
--- a/src/expr/ct.c
+++ b/src/expr/ct.c
@@ -207,7 +207,7 @@ static int nft_rule_expr_ct_xml_parse(struct nft_rule_expr *e, mxml_node_t *tree
if (nft_mxml_num_parse(tree, "dir", MXML_DESCEND_FIRST, BASE_DEC, &dir,
NFT_TYPE_U8) != 0)
- goto err;
+ return -1;
if (dir != IP_CT_DIR_ORIGINAL && dir != IP_CT_DIR_REPLY)
goto err;