As a responder, don't start a TRANSACTION request if we expect one from the initiator
This commit is contained in:
parent
4271838f9c
commit
9d2968e272
|
@ -496,7 +496,8 @@ METHOD(task_t, process_r, status_t,
|
|||
this->ike_sa->get_id(this->ike_sa)));
|
||||
break;
|
||||
}
|
||||
if (this->peer_cfg->get_virtual_ip(this->peer_cfg))
|
||||
if (this->peer_cfg->get_pool(this->peer_cfg) == NULL &&
|
||||
this->peer_cfg->get_virtual_ip(this->peer_cfg))
|
||||
{
|
||||
this->ike_sa->queue_task(this->ike_sa,
|
||||
(task_t*)mode_config_create(this->ike_sa, TRUE));
|
||||
|
|
|
@ -524,7 +524,8 @@ METHOD(task_t, build_r, status_t,
|
|||
this->ike_sa->get_id(this->ike_sa)));
|
||||
break;
|
||||
}
|
||||
if (this->peer_cfg->get_virtual_ip(this->peer_cfg))
|
||||
if (this->peer_cfg->get_pool(this->peer_cfg) == NULL &&
|
||||
this->peer_cfg->get_virtual_ip(this->peer_cfg))
|
||||
{
|
||||
this->ike_sa->queue_task(this->ike_sa,
|
||||
(task_t*)mode_config_create(this->ike_sa, TRUE));
|
||||
|
|
Loading…
Reference in New Issue