diff options
author | Martin Willi <martin@strongswan.org> | 2007-05-03 14:21:22 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-05-03 14:21:22 +0000 |
commit | 66560f4267636fc9255464434ab1abb81374404d (patch) | |
tree | dfc5319fd867b4df943a5b2b646496cd7ec84662 /src/charon/processing/scheduler.c | |
parent | 3d63b7639e4332080469aee8935ee59f5fa86e0f (diff) | |
download | strongswan-66560f4267636fc9255464434ab1abb81374404d.tar.bz2 strongswan-66560f4267636fc9255464434ab1abb81374404d.tar.xz |
reducing capabilities of the threads to a minimum
proper flush of pending packets on daemon shutdown
adding local address as gateway address in dynamic route
Diffstat (limited to 'src/charon/processing/scheduler.c')
-rw-r--r-- | src/charon/processing/scheduler.c | 3 |
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..."); |