Sylvain, I applied the new patch, but the following statement always cause Data Abort exception run-time error. No matter I set ETH_PAD_SIZE to 0 or 2. The good thing is my compiler doesn't generate any error message for the new patch. *((ppp_pcb**)payload) = pcb;
Another thing I am not so sure is the macro PPP_USE_PBUF_RAM. I always set it to 1 in lwipopts.h, but I think the default is set to 0 in opt.h. Am I doing the right thing? Thanks, Charles -----Original Message----- From: lwip-users-bounces+cmao=moog....@nongnu.org [mailto:lwip-users-bounces+cmao=moog....@nongnu.org] On Behalf Of Sylvain Rochet Sent: Thursday, April 10, 2014 6:15 PM To: Mailing list for lwIP users Subject: Re: [lwip-users] ppp-new IP forwarding only works one direction (Ethernet to PPP) Hello Charles, On Thu, Apr 10, 2014 at 08:03:13PM +0000, l...@moog.com wrote: > Hi Sylvain, > > Good news, I got it work with your patch Yeah, happy to hear that. Here is another patch, which should fix the issue in a way that can be pushed to the repository, would you test it ? > plus the replacement of (PBUF_LINK_HLEN +2), however, set ETH_PAD_SIZE > to 2 actually doesn't work. It seems fail at ARP and infinitely repeat > with the following debug messages: Humm, this is strange, using ETH_PAD_SIZE should work. Sylvain _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users