From 9e22095ef34d9a0b233934ad313d6083384deb02 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 28 Sep 2006 06:57:46 +0000 Subject: [PATCH] fixed DPD to survive IKE_SA rekeying --- src/charon/sa/transactions/rekey_ike_sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charon/sa/transactions/rekey_ike_sa.c b/src/charon/sa/transactions/rekey_ike_sa.c index 8f0b869e9..41d51802d 100644 --- a/src/charon/sa/transactions/rekey_ike_sa.c +++ b/src/charon/sa/transactions/rekey_ike_sa.c @@ -394,8 +394,8 @@ static status_t switchto_new_sa(private_rekey_ike_sa_t* this, bool initiator) return FAILED; } + this->new_sa->apply_connection(this->new_sa, this->connection); this->new_sa->set_state(this->new_sa, IKE_ESTABLISHED); - this->new_sa->set_lifetimes(this->new_sa, this->connection->get_soft_lifetime(this->connection), this->connection->get_hard_lifetime(this->connection));