Allow responder to use ike_mobike_t.roam.

After getting a response the responder updates the IPsec SAs.
This commit is contained in:
Tobias Brunner 2010-10-05 17:59:48 +02:00
parent 261b2572d1
commit c5770f864f
1 changed files with 7 additions and 1 deletions

View File

@ -543,7 +543,13 @@ METHOD(task_t, process_i, status_t,
}
if (this->update)
{
/* start the update with the same task */
if (!this->ike_sa->has_condition(this->ike_sa,
COND_ORIGINAL_INITIATOR))
{
update_children(this);
return SUCCESS;
}
/* original initiator starts the update with the same task */
this->check = FALSE;
this->address = FALSE;
if (this->natd)