From 02a04fd9fc7afda3516d00a9c7096262c2bf885f Mon Sep 17 00:00:00 2001 From: itojun Date: Mon, 28 Oct 2002 16:42:44 +0000 Subject: [PATCH] increase correct stat. KAME pr 445 --- sys/netinet6/esp_input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/netinet6/esp_input.c b/sys/netinet6/esp_input.c index 07b91e15ec07..58f9fe7206eb 100644 --- a/sys/netinet6/esp_input.c +++ b/sys/netinet6/esp_input.c @@ -1,4 +1,4 @@ -/* $NetBSD: esp_input.c,v 1.26 2002/09/11 03:45:45 itojun Exp $ */ +/* $NetBSD: esp_input.c,v 1.27 2002/10/28 16:42:44 itojun Exp $ */ /* $KAME: esp_input.c,v 1.60 2001/09/04 08:43:19 itojun Exp $ */ /* @@ -35,7 +35,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: esp_input.c,v 1.26 2002/09/11 03:45:45 itojun Exp $"); +__KERNEL_RCSID(0, "$NetBSD: esp_input.c,v 1.27 2002/10/28 16:42:44 itojun Exp $"); #include "opt_inet.h" @@ -635,7 +635,7 @@ esp6_input(mp, offp, proto) goto noreplaycheck; siz = (((*sumalgo->sumsiz)(sav) + 3) & ~(4 - 1)); if (m->m_pkthdr.len < off + ESPMAXLEN + siz) { - ipsecstat.in_inval++; + ipsec6stat.in_inval++; goto bad; } if (AH_MAXSUMSIZE < siz) {