From 2ad610eaf8636916ec926c591220ff4b4ed73e18 Mon Sep 17 00:00:00 2001 From: laforge Date: Wed, 24 Apr 2002 09:36:30 +0000 Subject: Some ipv6 fixes by kisza: AH save function fix (problem with --len ! 0) FRAG help fix FRAG save and prtint fix (problem with --len [!] 0) --- extensions/libip6t_ah.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libip6t_ah.c') diff --git a/extensions/libip6t_ah.c b/extensions/libip6t_ah.c index f169659..e778557 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); -- cgit v1.2.3