correct stat to increment.
Obtained from: KAME
This commit is contained in:
parent
988e955198
commit
448f2f0dfc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user