summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_dst.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-12-09 15:06:20 +0100
committerPatrick McHardy <kaber@trash.net>2008-12-09 15:06:20 +0100
commitcea9f71f5618250a38acb21c31fbbf93a752f7d4 (patch)
tree1f77c925110063cbc34172bd997efc2ac6cedff3 /extensions/libip6t_dst.c
parentb8e74adfa512c220839dea399fc11197dd9b43ff (diff)
iptables-save: output ! in position according to manpage
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'extensions/libip6t_dst.c')
-rw-r--r--extensions/libip6t_dst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libip6t_dst.c b/extensions/libip6t_dst.c
index 17e87808..215e2d95 100644
--- a/extensions/libip6t_dst.c
+++ b/extensions/libip6t_dst.c
@@ -207,7 +207,7 @@ static void dst_save(const void *ip, const struct xt_entry_match *match)
const struct ip6t_opts *optinfo = (struct ip6t_opts *)match->data;
if (optinfo->flags & IP6T_OPTS_LEN) {
- printf("--dst-len %s%u ",
+ printf("%s--dst-len %u ",
(optinfo->invflags & IP6T_OPTS_INV_LEN) ? "! " : "",
optinfo->hdrlen);
}