]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_owner: add more spaces to output
authorDaniel Drake <dsd@gentoo.org>
Mon, 19 Jan 2009 14:36:41 +0000 (15:36 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 19 Jan 2009 14:36:41 +0000 (15:36 +0100)
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>
extensions/libxt_owner.c

index 298075e91fe00ffbf24d95a9211f72dc0bec3963..4cd173e316f2f9931b41d6a62f3dcbe3ecc53e57 100644 (file)
@@ -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: