correct stat to increment.

Obtained from:	KAME
This commit is contained in:
ume 2003-10-31 17:51:54 +00:00
parent 988e955198
commit 448f2f0dfc

View File

@ -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) {