aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/queues/jobs/route_job.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/queues/jobs/route_job.c')
-rw-r--r--src/charon/queues/jobs/route_job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/queues/jobs/route_job.c b/src/charon/queues/jobs/route_job.c
index 5a128474b..bb6281dcc 100644
--- a/src/charon/queues/jobs/route_job.c
+++ b/src/charon/queues/jobs/route_job.c
@@ -69,7 +69,7 @@ static status_t execute(private_route_job_t *this)
{
ike_sa_t *ike_sa;
- ike_sa = charon->ike_sa_manager->checkout_by_id(charon->ike_sa_manager,
+ ike_sa = charon->ike_sa_manager->checkout_by_peer(charon->ike_sa_manager,
this->connection->get_my_host(this->connection),
this->connection->get_other_host(this->connection),
this->policy->get_my_id(this->policy),