diff options
Diffstat (limited to 'extensions/libip6t_ah.c')
-rw-r--r-- | extensions/libip6t_ah.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libip6t_ah.c b/extensions/libip6t_ah.c index f1696597..e778557c 100644 --- a/extensions/libip6t_ah.c +++ b/extensions/libip6t_ah.c @@ -203,7 +203,7 @@ static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match ahinfo->spis[0]); } - if (ahinfo->hdrlen != 0 ) { + if (ahinfo->hdrlen != 0 || (ahinfo->invflags & IP6T_AH_INV_LEN) ) { printf("--ahlen %s%u ", (ahinfo->invflags & IP6T_AH_INV_LEN) ? "! " : "", ahinfo->hdrlen); |