netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH iptables] libxt_output: add more spaces to output
       [not found] <20090117131414.66A2F9D4077@zog.reactivated.net>
@ 2009-01-17 13:33 ` Jan Engelhardt
  2009-01-19 14:37   ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2009-01-17 13:33 UTC (permalink / raw)
  To: Daniel Drake; +Cc: kaber, netfilter-devel


On Saturday 2009-01-17 14:14, Daniel Drake wrote:

>Commit bb9284d1 ("libxt_owner: add spaces to output") moved the printing
>of spaces away from the owner_mt_print() function family, but forgot to
>add spaces in all of the print_item() functions that are called.
>
>This is likely to be at least the partial cause of
>https://bugs.gentoo.org/show_bug.cgi?id=254435

Approves-of-this-patch: Jan Engelhardt <jengelh@medozas.de>

>Index: iptables-20090116/extensions/libxt_owner.c
>===================================================================
>--- iptables-20090116.orig/extensions/libxt_owner.c
>+++ iptables-20090116/extensions/libxt_owner.c
>@@ -324,7 +324,7 @@ owner_mt_print_item_v0(const struct ipt_
> 		return;
> 	if (info->invert & flag)
> 		printf("! ");
>-	printf(label);
>+	printf("%s ", label);
> 
> 	switch (info->match & flag) {
> 	case IPT_OWNER_UID:
>@@ -375,7 +375,7 @@ owner_mt6_print_item_v0(const struct ip6
> 		return;
> 	if (info->invert & flag)
> 		printf("! ");
>-	printf(label);
>+	printf("%s ", label);
> 
> 	switch (info->match & flag) {
> 	case IP6T_OWNER_UID:
>

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

* Re: [PATCH iptables] libxt_output: add more spaces to output
  2009-01-17 13:33 ` [PATCH iptables] libxt_output: add more spaces to output Jan Engelhardt
@ 2009-01-19 14:37   ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2009-01-19 14:37 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Daniel Drake, netfilter-devel

Jan Engelhardt wrote:
> On Saturday 2009-01-17 14:14, Daniel Drake wrote:
> 
>> Commit bb9284d1 ("libxt_owner: add spaces to output") moved the printing
>> of spaces away from the owner_mt_print() function family, but forgot to
>> add spaces in all of the print_item() functions that are called.
>>
>> This is likely to be at least the partial cause of
>> https://bugs.gentoo.org/show_bug.cgi?id=254435
> 
> Approves-of-this-patch: Jan Engelhardt <jengelh@medozas.de>

Applied, thanks.

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

end of thread, other threads:[~2009-01-19 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20090117131414.66A2F9D4077@zog.reactivated.net>
2009-01-17 13:33 ` [PATCH iptables] libxt_output: add more spaces to output Jan Engelhardt
2009-01-19 14:37   ` Patrick McHardy

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).