summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-10-31 17:51:54 +0000
committerume <ume@FreeBSD.org>2003-10-31 17:51:54 +0000
commit448f2f0dfcbda39eebcb5e38f16bbca883acce23 (patch)
tree62c8f249fde94ccb6e2acfb4bd98207ca77bc4ff
parent988e955198960b530bb9eeba848222abb3d1d4ef (diff)
downloadFreeBSD-src-448f2f0dfcbda39eebcb5e38f16bbca883acce23.zip
FreeBSD-src-448f2f0dfcbda39eebcb5e38f16bbca883acce23.tar.gz
correct stat to increment.
Obtained from: KAME
-rw-r--r--sys/netinet6/esp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/esp_input.c b/sys/netinet6/esp_input.c
index f25d0f3..c94d80c 100644
--- a/sys/netinet6/esp_input.c
+++ b/sys/netinet6/esp_input.c
@@ -579,7 +579,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) {
OpenPOWER on IntegriCloud