Select IKEv1 configurations by main/aggressive mode option

This commit is contained in:
Martin Willi
2012-03-20 17:31:34 +01:00
parent 5ce59d4c06
commit 91c212fd6a
4 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -393,7 +393,7 @@ METHOD(task_t, process_r, status_t,
id = id_payload->get_identification(id_payload);
this->ike_sa->set_other_id(this->ike_sa, id);
this->peer_cfg = this->ph1->select_config(this->ph1,
this->method, id);
this->method, FALSE, id);
if (!this->peer_cfg)
{
DBG1(DBG_IKE, "no peer config found");