diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-12-09 15:06:20 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-12-09 15:06:20 +0100 |
commit | cea9f71f5618250a38acb21c31fbbf93a752f7d4 (patch) | |
tree | 1f77c925110063cbc34172bd997efc2ac6cedff3 /extensions/libipt_ah.c | |
parent | b8e74adfa512c220839dea399fc11197dd9b43ff (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/libipt_ah.c')
-rw-r--r-- | extensions/libipt_ah.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libipt_ah.c b/extensions/libipt_ah.c index 5084332a..fec87a74 100644 --- a/extensions/libipt_ah.c +++ b/extensions/libipt_ah.c @@ -135,7 +135,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 & IPT_AH_INV_SPI) ? "! " : ""); if (ahinfo->spis[0] != ahinfo->spis[1]) |