fixed DPD to survive IKE_SA rekeying

This commit is contained in:
Martin Willi
2006-09-28 06:57:46 +00:00
parent 151168f6ea
commit 9e22095ef3
+1 -1
View File
@@ -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));