Block XAuth transaction on established IKE_SAs, but allow Mode Config

This commit is contained in:
Martin Willi
2012-08-03 13:07:57 +02:00
parent decc467a4f
commit 764035d515
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -879,7 +879,7 @@ static status_t process_request(private_task_manager_t *this,
}
break;
case TRANSACTION:
if (this->ike_sa->get_state(this->ike_sa) == IKE_ESTABLISHED)
if (this->ike_sa->get_state(this->ike_sa) != IKE_CONNECTING)
{
task = (task_t *)mode_config_create(this->ike_sa, FALSE);
}