Fix broken window replay check that will allow old packet to be accepted.

This was introduced in r309144.

Submitted by:	Jean-Francois HREN <jean-francois.hren@stormshield.eu>
Approved by:	ae@
MFC after:	3 days
This commit is contained in:
fabient 2019-09-06 14:30:23 +00:00
parent 0bfa32c032
commit c4d20bf3c5

View File

@ -1323,6 +1323,8 @@ ok:
__func__, replay->overflow,
ipsec_sa2str(sav, buf, sizeof(buf))));
}
replay->count++;
return (0);
}