> you mean define a handler in pppd code? >No, in your pppoe-server code. Handle the SIGINT as if it is expected >side-effect. so if I define a handler in pppd ,and kill pppd himself in the handler ? can solve this problem? > what function should call in the handler to bring the pppd down > gracefully? >Sorry, I don't understand this question. if I want to kill pppd himself in the handler that user defined in pppd, what function should I call to kill pppd himself safely? ------------------ cyx 2008-05-22 ------------------------------------------------------------- 发件人:James Cameron 发送日期:2008-05-22 09:26:52 收件人:cyx_mail 抄送:linux-ppp@xxxxxxxxxxxxxxx; James Cameron 主题:Re: Re: issue about PIDs ? On Thu, May 22, 2008 at 09:23:06AM +0800, cyx_mail wrote: > you mean define a handler in pppd code? No, in your pppoe-server code. Handle the SIGINT as if it is expected side-effect. > what function should call in the handler to bring the pppd down > gracefully? Sorry, I don't understand this question. -- James Cameron http://quozl.netrek.org/ HP Open Source, Volunteer http://opensource.hp.com/ PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/ -- To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html __________ NOD32 3090 (20080509) Information __________ This message was checked by NOD32 antivirus system. http://www.nod32cn.com ?韬{.n?????%??檩??w?{.n???{炳???骅w*jg????????G??⒏⒎?:+v????????????"??????