preparation for 64bit sequence number.

Obtained from:	KAME
This commit is contained in:
ume 2003-11-15 05:41:41 +00:00
parent 6d87ae9b1e
commit 7ab85b6918

View File

@ -404,7 +404,7 @@ esp_output(m, nexthdrp, md, isr, af)
* XXX sequence number must not be cycled, if the SA is * XXX sequence number must not be cycled, if the SA is
* installed by IKE daemon. * installed by IKE daemon.
*/ */
nesp->esp_seq = htonl(sav->replay->count); nesp->esp_seq = htonl(sav->replay->count & 0xffffffff);
} }
{ {