Thank you! BTW,why the function "kill_my_pg(sig)" do a system call "kill(0,sig)" with the first parameter "0"? why not to kill himself only but a whole group? 2008-05-21 cyx_mail 发件人: James Cameron 发送时间: 2008-05-21 14:55:44 收件人: cyx_mail 抄送: linux-ppp 主题: Re: about pppd termination? Consider the ip_down_hook plugin hook if you want to catch either event. pppd can also be killed with SIGKILL, unhandled, and so kernel destroys interface. No code in pppd executed. No ip_down_hook executed. -- 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 __________ NOD32 3090 (20080509) Information __________ This message was checked by NOD32 antivirus system. http://www.nod32cn.com ?韬{.n?????%??檩??w?{.n???{炳???骅w*jg????????G??⒏⒎?:+v????????????"??????