summaryrefslogtreecommitdiffstats
path: root/src/expr/limit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/limit.c')
-rw-r--r--src/expr/limit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/limit.c b/src/expr/limit.c
index 6954014..bdb0414 100644
--- a/src/expr/limit.c
+++ b/src/expr/limit.c
@@ -179,8 +179,8 @@ nft_rule_expr_limit_snprintf(char *buf, size_t len, uint32_t type,
"<depth>%"PRIu64"</depth>",
limit->rate, limit->depth);
case NFT_RULE_O_JSON:
- return snprintf(buf, len, "\"rate\" : %"PRIu64", "
- "\"depth\" : %"PRIu64" ",
+ return snprintf(buf, len, "\"rate\":%"PRIu64","
+ "\"depth\":%"PRIu64"",
limit->rate, limit->depth);
default:
break;