summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/extra/pppd_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/extra/pppd_compat.c b/accel-pppd/extra/pppd_compat.c
index d94f2e40..d4eb10be 100644
--- a/accel-pppd/extra/pppd_compat.c
+++ b/accel-pppd/extra/pppd_compat.c
@@ -67,9 +67,9 @@ static void ip_pre_up_handler(struct sigchld_handler_t *h, int status)
if (conf_verbose) {
log_switch(NULL, pd->ppp);
log_ppp_info2("pppd_compat: ip-pre-up finished (%i)\n", status);
- pd->res = status;
}
sched_yield();
+ pd->res = status;
triton_context_wakeup(pd->ppp->ctrl->ctx);
}