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/libip6t_ipv6header.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/libip6t_ipv6header.c')
-rw-r--r-- | extensions/libip6t_ipv6header.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/libip6t_ipv6header.c b/extensions/libip6t_ipv6header.c index e114451d..30061244 100644 --- a/extensions/libip6t_ipv6header.c +++ b/extensions/libip6t_ipv6header.c @@ -271,8 +271,7 @@ static void ipv6header_save(const void *ip, const struct xt_entry_match *match) const struct ip6t_ipv6header_info *info = (const struct ip6t_ipv6header_info *)match->data; - printf("--header "); - printf("%s", info->invflags ? "!" : ""); + printf("%s--header ", info->invflags ? "! " : ""); print_header(info->matchflags); printf(" "); if (info->modeflag) |