diff options
Diffstat (limited to 'src/libcharon/processing/jobs/send_dpd_job.c')
-rw-r--r-- | src/libcharon/processing/jobs/send_dpd_job.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libcharon/processing/jobs/send_dpd_job.c b/src/libcharon/processing/jobs/send_dpd_job.c index 47b525363..ab00d013d 100644 --- a/src/libcharon/processing/jobs/send_dpd_job.c +++ b/src/libcharon/processing/jobs/send_dpd_job.c @@ -66,6 +66,12 @@ METHOD(job_t, execute, void, destroy(this); } +METHOD(job_t, get_priority, job_priority_t, + private_send_dpd_job_t *this) +{ + return JOB_PRIO_HIGH; +} + /* * Described in header */ @@ -77,6 +83,7 @@ send_dpd_job_t *send_dpd_job_create(ike_sa_id_t *ike_sa_id) .public = { .job_interface = { .execute = _execute, + .get_priority = _get_priority, .destroy = _destroy, }, }, |