summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2009-01-19 15:36:41 +0100
committerPatrick McHardy <kaber@trash.net>2009-01-19 15:36:41 +0100
commitcfb9cf0509ad8100cd8d6ab52d60a8ffbb318578 (patch)
tree7c8a2ced594609aa6d4208b2b3ad98d3c6b9b6ca
parent3d12c3bbffb43182df9ac5c0ad549b095d30d021 (diff)
libxt_owner: add more spaces to output
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 Signed-off-by: Daniel Drake <dsd@gentoo.org> Approves-of-this-patch: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r--extensions/libxt_owner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_owner.c b/extensions/libxt_owner.c
index 298075e9..4cd173e3 100644
--- a/extensions/libxt_owner.c
+++ b/extensions/libxt_owner.c
@@ -324,7 +324,7 @@ owner_mt_print_item_v0(const struct ipt_owner_info *info, const char *label,
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 ip6t_owner_info *info, const char *label,
return;
if (info->invert & flag)
printf("! ");
- printf(label);
+ printf("%s ", label);
switch (info->match & flag) {
case IP6T_OWNER_UID: