aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/processing/scheduler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/processing/scheduler.c')
-rw-r--r--src/charon/processing/scheduler.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/charon/processing/scheduler.c b/src/charon/processing/scheduler.c
index 156c1e240..d4accb630 100644
--- a/src/charon/processing/scheduler.c
+++ b/src/charon/processing/scheduler.c
@@ -60,6 +60,9 @@ static void get_events(private_scheduler_t * this)
DBG1(DBG_JOB, "scheduler thread running, thread_ID: %06u",
(int)pthread_self());
+ /* drop threads capabilities */
+ charon->drop_capabilities(charon, FALSE, FALSE);
+
while (TRUE)
{
DBG2(DBG_JOB, "waiting for next event...");