using same reqid if a child sa rekeys an existing one

This commit is contained in:
Martin Willi
2006-06-12 08:36:41 +00:00
parent fec9cb332f
commit 50f98119dd
7 changed files with 37 additions and 20 deletions
+2 -1
View File
@@ -1025,7 +1025,8 @@ static status_t rekey_child_sa(private_ike_sa_t *this, u_int32_t reqid)
request->add_payload(request, (payload_t*)notify);
proposals = this->policy->get_proposals(this->policy);
child_sa = child_sa_create(this->connection->get_my_host(this->connection),
child_sa = child_sa_create(reqid,
this->connection->get_my_host(this->connection),
this->connection->get_other_host(this->connection),
this->policy->get_soft_lifetime(this->policy),
this->policy->get_hard_lifetime(this->policy));