Respect IKE version while selecting an ike_cfg as responder

This commit is contained in:
Martin Willi committed 2012-10-24 10:19:33 +02:00
1 parent 1fdd62ffce
commit 7910116384
4 files changed
+38 -13

No files matched your search

+2 -1
View File
@@ -1077,7 +1077,8 @@ METHOD(task_manager_t, process_message, status_t,
ike_sa_id_t *ike_sa_id;
ike_cfg_t *ike_cfg;
job_t *job;
ike_cfg = charon->backends->get_ike_cfg(charon->backends, me, other);
ike_cfg = charon->backends->get_ike_cfg(charon->backends,
me, other, IKEV2);
if (ike_cfg == NULL)
{
/* no config found for these hosts, destroy */