summaryrefslogtreecommitdiffstats
path: root/src/expr/lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/lookup.c')
-rw-r--r--src/expr/lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/lookup.c b/src/expr/lookup.c
index 34f484c..cbc4d42 100644
--- a/src/expr/lookup.c
+++ b/src/expr/lookup.c
@@ -149,7 +149,7 @@ nft_rule_expr_lookup_json_parse(struct nft_rule_expr *e, json_t *root)
const char *set_name;
int32_t reg;
- set_name = nft_jansson_value_parse_str(root, "set");
+ set_name = nft_jansson_parse_str(root, "set");
if (set_name == NULL)
return -1;