Message ID | 20130615011615.3778.76826.stgit@nfdev.cica.es |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
On Sat, Jun 15, 2013 at 03:16:15AM +0200, Arturo Borrero wrote:
> This patch fix a trailing space in rule xml_snprintf.
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/src/rule.c b/src/rule.c index 99ad50c..1609cc3 100644 --- a/src/rule.c +++ b/src/rule.c @@ -654,7 +654,7 @@ static int nft_rule_snprintf_xml(char *buf, size_t size, struct nft_rule *r, ret = snprintf(buf, size, "<rule family=\"%u\" table=\"%s\" " - "chain=\"%s\" handle=\"%llu\" version=\"%d\"> ", + "chain=\"%s\" handle=\"%llu\" version=\"%d\">", r->family, r->table, r->chain, (unsigned long long)r->handle, NFT_RULE_XML_VERSION);
This patch fix a trailing space in rule xml_snprintf. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> --- src/rule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html