summaryrefslogtreecommitdiffstats
path: root/src/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c
index 8a3e15e6..b70a53f2 100644
--- a/src/json.c
+++ b/src/json.c
@@ -864,7 +864,7 @@ json_t *inet_service_type_json(const struct expr *expr, struct output_ctx *octx)
if (octx->numeric >= NFT_NUMERIC_PORT)
return integer_type_json(expr, octx);
- return symbolic_constant_json(&inet_service_tbl, expr, octx);
+ return inet_service_type_print(expr, octx);
}
json_t *mark_type_json(const struct expr *expr, struct output_ctx *octx)