summaryrefslogtreecommitdiff
path: root/accel-pppd/extra/pppd_compat.c
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-03-22 20:02:30 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-03-22 20:02:30 +0400
commitcb8998ad14ab7ceddda226bc473bae349b3da83f (patch)
tree431326e138b1af35e0a3c4e96cda4207933a547f /accel-pppd/extra/pppd_compat.c
parent0d96cf0aaaa46c8515de49afcb0a776e2ce3302e (diff)
downloadaccel-ppp-cb8998ad14ab7ceddda226bc473bae349b3da83f.tar.gz
accel-ppp-cb8998ad14ab7ceddda226bc473bae349b3da83f.zip
pppd_compat: fix ip-pre-up script result handling
Diffstat (limited to 'accel-pppd/extra/pppd_compat.c')
-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);
}