fixed DPD to survive IKE_SA rekeying
This commit is contained in:
@@ -394,8 +394,8 @@ static status_t switchto_new_sa(private_rekey_ike_sa_t* this, bool initiator)
|
|||||||
return FAILED;
|
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_state(this->new_sa, IKE_ESTABLISHED);
|
||||||
|
|
||||||
this->new_sa->set_lifetimes(this->new_sa,
|
this->new_sa->set_lifetimes(this->new_sa,
|
||||||
this->connection->get_soft_lifetime(this->connection),
|
this->connection->get_soft_lifetime(this->connection),
|
||||||
this->connection->get_hard_lifetime(this->connection));
|
this->connection->get_hard_lifetime(this->connection));
|
||||||
|
|||||||
Reference in New Issue
Block a user