summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_ah.c
diff options
context:
space:
mode:
authorlaforge <laforge>2002-04-24 09:36:30 +0000
committerlaforge <laforge>2002-04-24 09:36:30 +0000
commit2ad610eaf8636916ec926c591220ff4b4ed73e18 (patch)
tree6e9caf127a443fb14f1cd8a2a66fd1ac6d637cb5 /extensions/libip6t_ah.c
parented0187218221bcff549d92f1d52f292f88eb3466 (diff)
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)
Diffstat (limited to 'extensions/libip6t_ah.c')
-rw-r--r--extensions/libip6t_ah.c2
1 files changed, 1 insertions, 1 deletions
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);