提交 cb8998ad 编写于 作者: K Kozlov Dmitry

pppd_compat: fix ip-pre-up script result handling

上级 0d96cf0a
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册