Signed-off-by: Alvaro Neira Ayuso <alvaroneay@xxxxxxxxx> --- src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer.c b/src/buffer.c index d64f944..4cedb9e 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -75,7 +75,7 @@ int nft_buf_close(struct nft_buf *b, int type, const char *tag) { switch (type) { case NFT_OUTPUT_XML: - return nft_buf_put(b, "</%s>"); + return nft_buf_put(b, "</%s>", tag); case NFT_OUTPUT_JSON: /* Remove trailing comma in json */ if (b->size > 0 && b->buf[b->size - 1] == ',') { -- 1.7.10.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