summaryrefslogtreecommitdiff
path: root/src/libcharon/processing/jobs/dpd_timeout_job.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/processing/jobs/dpd_timeout_job.c')
-rw-r--r--src/libcharon/processing/jobs/dpd_timeout_job.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcharon/processing/jobs/dpd_timeout_job.c b/src/libcharon/processing/jobs/dpd_timeout_job.c
index 91a76bbaf..64a9785a6 100644
--- a/src/libcharon/processing/jobs/dpd_timeout_job.c
+++ b/src/libcharon/processing/jobs/dpd_timeout_job.c
@@ -77,6 +77,7 @@ METHOD(job_t, execute, job_requeue_t,
if (use_time < this->check)
{
DBG1(DBG_JOB, "DPD check timed out, enforcing DPD action");
+ charon->bus->ike_updown(charon->bus, ike_sa, FALSE);
ike_sa->reestablish(ike_sa);
charon->ike_sa_manager->checkin_and_destroy(charon->ike_sa_manager,
ike_sa);