diff options
author | ume <ume@FreeBSD.org> | 2003-11-15 05:41:41 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-11-15 05:41:41 +0000 |
commit | 7ab85b69181ae6d229fd2ed3795218345f8ab081 (patch) | |
tree | d1361555b9a5255e5dff528fe32889c53170b3b1 /sys/netinet6/esp_output.c | |
parent | 6d87ae9b1ebcaeed0f884f455dde23b77a06948c (diff) | |
download | FreeBSD-src-7ab85b69181ae6d229fd2ed3795218345f8ab081.zip FreeBSD-src-7ab85b69181ae6d229fd2ed3795218345f8ab081.tar.gz |
preparation for 64bit sequence number.
Obtained from: KAME
Diffstat (limited to 'sys/netinet6/esp_output.c')
-rw-r--r-- | sys/netinet6/esp_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/esp_output.c b/sys/netinet6/esp_output.c index 37a4654..bbc2d13 100644 --- a/sys/netinet6/esp_output.c +++ b/sys/netinet6/esp_output.c @@ -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); } { |