preparation for 64bit sequence number.

Obtained from:	KAME
This commit is contained in:
Hajimu UMEMOTO 2003-11-15 05:41:41 +00:00
parent c28ac7f842
commit bfcc4df579

View file

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