diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/expr/dup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/dup.c b/src/expr/dup.c index 6498972..d0fa35f 100644 --- a/src/expr/dup.c +++ b/src/expr/dup.c @@ -176,12 +176,12 @@ static int nftnl_expr_dup_snprintf_default(char *buf, size_t len, struct nftnl_expr_dup *dup = nftnl_expr_data(e); if (e->flags & (1 << NFTNL_EXPR_DUP_SREG_ADDR)) { - ret = snprintf(buf + offset, len, "sreg_addr %u", dup->sreg_addr); + ret = snprintf(buf + offset, len, "sreg_addr %u ", dup->sreg_addr); SNPRINTF_BUFFER_SIZE(ret, size, len, offset); } if (e->flags & (1 << NFTNL_EXPR_DUP_SREG_DEV)) { - ret = snprintf(buf + offset, len, "sreg_dev %u", dup->sreg_dev); + ret = snprintf(buf + offset, len, "sreg_dev %u ", dup->sreg_dev); SNPRINTF_BUFFER_SIZE(ret, size, len, offset); } |