summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_frag.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_frag.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_frag.c')
-rw-r--r--extensions/libip6t_frag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libip6t_frag.c b/extensions/libip6t_frag.c
index 1f8f801d..5ded1c65 100644
--- a/extensions/libip6t_frag.c
+++ b/extensions/libip6t_frag.c
@@ -200,7 +200,7 @@ static void frag_save(const void *ip, const struct xt_entry_match *match)
if (!(fraginfo->ids[0] == 0
&& fraginfo->ids[1] == 0xFFFFFFFF)) {
- printf("--fragid %s",
+ printf("%s--fragid ",
(fraginfo->invflags & IP6T_FRAG_INV_IDS) ? "! " : "");
if (fraginfo->ids[0]
!= fraginfo->ids[1])
@@ -213,7 +213,7 @@ static void frag_save(const void *ip, const struct xt_entry_match *match)
}
if (fraginfo->flags & IP6T_FRAG_LEN) {
- printf("--fraglen %s%u ",
+ printf("%s--fraglen %u ",
(fraginfo->invflags & IP6T_FRAG_INV_LEN) ? "! " : "",
fraginfo->hdrlen);
}