Respect IKE version while selecting an ike_cfg as responder
This commit is contained in:
1 parent
1fdd62ffce
commit
7910116384
4 files changed
+38
-13
No files matched your search
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user