Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> --- src/expr/dup.c | 4 ++-- 1 file 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); } -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html