summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/pf_key_v2.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-27 00:48:22 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-27 00:48:22 +0000
commitc5355883f033c52fa97b73febb89e80adf21cbbd (patch)
treec8543628afe06e7d3cc1c6e8d95b914bca75fa23 /sbin/isakmpd/pf_key_v2.c
parente124911f2077dbdfebb2ca7148eca54d747a3675 (diff)
Keep track of the ACQUIRE sequence number, and pass it to the kernel
along with the ADD message.
Diffstat (limited to 'sbin/isakmpd/pf_key_v2.c')
-rw-r--r--sbin/isakmpd/pf_key_v2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/pf_key_v2.c b/sbin/isakmpd/pf_key_v2.c
index ec62e5a468a..01983762168 100644
--- a/sbin/isakmpd/pf_key_v2.c
+++ b/sbin/isakmpd/pf_key_v2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_key_v2.c,v 1.65 2001/06/07 07:50:29 angelos Exp $ */
+/* $OpenBSD: pf_key_v2.c,v 1.66 2001/06/27 00:48:21 angelos Exp $ */
/* $EOM: pf_key_v2.c,v 1.79 2000/12/12 00:33:19 niklas Exp $ */
/*
@@ -915,7 +915,7 @@ pf_key_v2_set_spi (struct sa *sa, struct proto *proto, int incoming,
dst, dstlen)
: 0);
#else
- msg.sadb_msg_seq = 0;
+ msg.sadb_msg_seq = sa->seq;
#endif
update = pf_key_v2_msg_new (&msg, 0);
if (!update)