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_hbh.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_hbh.c')
-rw-r--r-- | extensions/libip6t_hbh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libip6t_hbh.c b/extensions/libip6t_hbh.c index ce79af94..419c2506 100644 --- a/extensions/libip6t_hbh.c +++ b/extensions/libip6t_hbh.c @@ -196,7 +196,7 @@ static void hbh_save(const void *ip, const struct xt_entry_match *match) const struct ip6t_opts *optinfo = (struct ip6t_opts *)match->data; if (optinfo->flags & IP6T_OPTS_LEN) { - printf("--hbh-len %s%u ", + printf("%s--hbh-len %u ", (optinfo->invflags & IP6T_OPTS_INV_LEN) ? "! " : "", optinfo->hdrlen); } |