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/libxt_esp.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/libxt_esp.c')
-rw-r--r-- | extensions/libxt_esp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_esp.c b/extensions/libxt_esp.c index 524449a2..999733c3 100644 --- a/extensions/libxt_esp.c +++ b/extensions/libxt_esp.c @@ -134,7 +134,7 @@ static void esp_save(const void *ip, const struct xt_entry_match *match) if (!(espinfo->spis[0] == 0 && espinfo->spis[1] == 0xFFFFFFFF)) { - printf("--espspi %s", + printf("%s--espspi ", (espinfo->invflags & XT_ESP_INV_SPI) ? "! " : ""); if (espinfo->spis[0] != espinfo->spis[1]) |