In the current 1.3.2 + PPP code, I found the kill_link flag is removed
pc->kill_link = 1;//let ppp exit
Is there any similar control flag in the ppp process, so that I could make PPP exit by itself.
The PPP main process is
while( 1) { sio_read()
}
in the sio_read, the hardware may have some error, if such error
happen, I tried to let PPP exits by itself. In the while loop, I could not call the pppClose(0), I need some kind of PPP inner flag to exit PPP process.