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
@@ -571,7 +571,8 @@ static status_t build_sa_payload (private_ike_sa_init_requested_t *this, message
proposal_list = policy->get_proposals(policy);
/* build child sa */
connection = this->ike_sa->get_connection(this->ike_sa);
this->child_sa = child_sa_create(connection->get_my_host(connection),
this->child_sa = child_sa_create(0,
connection->get_my_host(connection),
connection->get_other_host(connection),
policy->get_soft_lifetime(policy),
policy->get_hard_lifetime(policy));