summaryrefslogtreecommitdiffstats
path: root/src/parser_json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser_json.c')
-rw-r--r--src/parser_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser_json.c b/src/parser_json.c
index 6e14fb72..e340bebc 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -2064,7 +2064,7 @@ static struct stmt *json_parse_stmt(struct json_ctx *ctx, json_t *root)
return NULL;
/* Yes, verdict_map_stmt is actually an expression */
- if (!strcmp(type, "map")) {
+ if (!strcmp(type, "vmap")) {
struct expr *expr = json_parse_map_expr(ctx, type, tmp);
if (!expr) {