Skip to contentSkip to conversation

libxt_quota: fix _save() invert syntax

PATCH Applied Arturo Borrero Gonzalez 2 participants 2 messages Feb 23, 2015 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxt_quota: fix _save() invert syntax

Space is misplaced.

---
 extensions/libxt_quota.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
extensions/libxt_quota.c +1 -1
index ff498da..ff7dd2a 100644
@@ -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);
 }
 
maintainer Applied
#1 lore raw
Quoted 1 line · Arturo Borrero Gonzalez

Space is misplaced.

Applied, thanks.

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