diff options
Diffstat (limited to 'src/expr/cmp.c')
-rw-r--r-- | src/expr/cmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/cmp.c b/src/expr/cmp.c index 16be540..71f8e60 100644 --- a/src/expr/cmp.c +++ b/src/expr/cmp.c @@ -188,7 +188,7 @@ static int nft_rule_expr_cmp_json_parse(struct nft_rule_expr *e, json_t *root) nft_rule_expr_set_u32(e, NFT_EXPR_CMP_SREG, uval32); - op = nft_jansson_value_parse_str(root, "op"); + op = nft_jansson_parse_str(root, "op"); if (op == NULL) return -1; |