Hello.
I'm looking for a way to let a PPP peer know that the connection is dropped and 
needs to reestablish in 2.0.0rc2.  In my case, one particular usage of this is 
if one peer unexpectedly resets (for example, via power loss) and then comes 
back up and wants to reconnect.  At this point, it's lost its IP address, etc. 
and needs to reconnect to the peer.  But for some reason, the peer (not Lwip) 
is ignoring all LCP packets.  (I'm not sure if that's good protocol or not, but 
I have to deal with it.)  So I was thinking that if I could explicitly tell the 
peer to terminate (TermReq), then perhaps we could restart normally.

Unfortunately, if I just try a ppp_close() (on the peer that reset), Lwip is 
smart enough to realize it's in the DEAD state and does not try to send a 
TermReq.  Is there a way to force it to send a TermReq?  Or is there some other 
way to let the peer know that the connection needs to be reestablished?

Thanks for any advice.

-- Greg
---------------------------------------------------------------------------------------
 This email has been scanned for email related threats and delivered safely by 
Mimecast.
 For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to