summaryrefslogtreecommitdiffstats
path: root/src/expr/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/match.c')
-rw-r--r--src/expr/match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/match.c b/src/expr/match.c
index 91e59ff..c03ab12 100644
--- a/src/expr/match.c
+++ b/src/expr/match.c
@@ -218,7 +218,7 @@ static int nft_rule_expr_match_snprintf_json(char *buf, size_t len,
{
int ret, size = len, offset = 0;
- ret = snprintf(buf, len, "\"name\" : \"%s\"",
+ ret = snprintf(buf, len, "\"name\":\"%s\"",
mt->name);
SNPRINTF_BUFFER_SIZE(ret, size, len, offset);