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
This commit is contained in:
@@ -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...");
|
||||
|
||||
Reference in New Issue
Block a user