netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [iptables PATCH] libxt_quota: fix _save() invert syntax
@ 2015-02-23 10:31 Arturo Borrero Gonzalez
  2015-02-23 14:20 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Arturo Borrero Gonzalez @ 2015-02-23 10:31 UTC (permalink / raw)
  To: netfilter-devel; +Cc: pablo

Space is misplaced.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
---
 extensions/libxt_quota.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/libxt_quota.c b/extensions/libxt_quota.c
index ff498da..ff7dd2a 100644
--- a/extensions/libxt_quota.c
+++ b/extensions/libxt_quota.c
@@ -37,7 +37,7 @@ quota_save(const void *ip, const struct xt_entry_match *match)
 	const struct xt_quota_info *q = (const void *)match->data;
 
 	if (q->flags & XT_QUOTA_INVERT)
-		printf("! ");
+		printf(" !");
 	printf(" --quota %llu", (unsigned long long) q->quota);
 }
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [iptables PATCH] libxt_quota: fix _save() invert syntax
  2015-02-23 10:31 [iptables PATCH] libxt_quota: fix _save() invert syntax Arturo Borrero Gonzalez
@ 2015-02-23 14:20 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2015-02-23 14:20 UTC (permalink / raw)
  To: Arturo Borrero Gonzalez; +Cc: netfilter-devel

On Mon, Feb 23, 2015 at 11:31:11AM +0100, Arturo Borrero Gonzalez wrote:
> Space is misplaced.

Applied, thanks.

I have also updated extensions/libxt_quota.t so it catches this case
from the automated regression testing infrastructure.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-23 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-23 10:31 [iptables PATCH] libxt_quota: fix _save() invert syntax Arturo Borrero Gonzalez
2015-02-23 14:20 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).