summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_ah.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_ah.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_ah.c')
-rw-r--r--extensions/libip6t_ah.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libip6t_ah.c b/extensions/libip6t_ah.c
index 6a3e7841..0bbd4754 100644
--- a/extensions/libip6t_ah.c
+++ b/extensions/libip6t_ah.c
@@ -164,7 +164,7 @@ static void ah_save(const void *ip, const struct xt_entry_match *match)
if (!(ahinfo->spis[0] == 0
&& ahinfo->spis[1] == 0xFFFFFFFF)) {
- printf("--ahspi %s",
+ printf("%s--ahspi ",
(ahinfo->invflags & IP6T_AH_INV_SPI) ? "! " : "");
if (ahinfo->spis[0]
!= ahinfo->spis[1])
@@ -177,7 +177,7 @@ static void ah_save(const void *ip, const struct xt_entry_match *match)
}
if (ahinfo->hdrlen != 0 || (ahinfo->invflags & IP6T_AH_INV_LEN) ) {
- printf("--ahlen %s%u ",
+ printf("%s--ahlen %u ",
(ahinfo->invflags & IP6T_AH_INV_LEN) ? "! " : "",
ahinfo->hdrlen);
}