From cb8998ad14ab7ceddda226bc473bae349b3da83f Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Thu, 22 Mar 2012 20:02:30 +0400 Subject: pppd_compat: fix ip-pre-up script result handling --- accel-pppd/extra/pppd_compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accel-pppd/extra/pppd_compat.c b/accel-pppd/extra/pppd_compat.c index d94f2e4..d4eb10b 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); } -- cgit v1.2.3