summaryrefslogtreecommitdiffstats
path: root/src/expr/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/match.c')
-rw-r--r--src/expr/match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/match.c b/src/expr/match.c
index 763e11e..b18d594 100644
--- a/src/expr/match.c
+++ b/src/expr/match.c
@@ -175,7 +175,7 @@ static int nft_rule_expr_match_json_parse(struct nft_rule_expr *e, json_t *root)
#ifdef JSON_PARSING
const char *name;
- name = nft_jansson_value_parse_str(root, "name");
+ name = nft_jansson_parse_str(root, "name");
if (name == NULL)
return -1;