]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_CONNSECMARK: fix spacing in output
authorTom Eastep <teastep@shorewall.net>
Sat, 3 Sep 2011 00:45:51 +0000 (17:45 -0700)
committerJan Engelhardt <jengelh@medozas.de>
Mon, 5 Sep 2011 18:18:18 +0000 (20:18 +0200)
~# iptables -t mangle -A foo -j CONNSECMARK --save
~# iptables -t mangle -S
[...]
-A foo -j CONNSECMARK--save

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_CONNSECMARK.c

index df2e6b825262e674c6ca477d5a3d1a37d5c536d6..0b3cd79d7ebdf09a35366129121022aff0172b15 100644 (file)
@@ -87,7 +87,7 @@ CONNSECMARK_save(const void *ip, const struct xt_entry_target *target)
        const struct xt_connsecmark_target_info *info =
                (struct xt_connsecmark_target_info*)target->data;
 
-       printf("--");
+       printf(" --");
        print_connsecmark(info);
 }