summaryrefslogtreecommitdiffstats
path: root/src/table.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/table.c')
-rw-r--r--src/table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table.c b/src/table.c
index a096da7..6fb22c3 100644
--- a/src/table.c
+++ b/src/table.c
@@ -283,7 +283,7 @@ static int nft_table_json_parse(struct nft_table *t, const char *json)
if (root == NULL)
return -1;
- str = nft_jansson_value_parse_str(root, "name");
+ str = nft_jansson_parse_str(root, "name");
if (str == NULL)
goto err;