2017-04-13 17:19 GMT+08:00 Sylvain Rochet <[email protected]>: > Hi, > > On Thu, Apr 13, 2017 at 04:40:53PM +0800, Axel Lin wrote: >> Hi, >> After my device join an AP and get the ip (e.g. 192.168.0.102). >> My device can ping the gateway ip and other devices in the same network. >> Other devices can ping my test device running lwip. >> But if I try to ping my own ip (192.168.0.102), it always timeout. >> This seems strange. is this a normal behavior in lwip? > > Short answer: > > /** > * LWIP_NETIF_LOOPBACK==1: Support sending packets with a destination IP > * address equal to the netif IP address, looping them back up the stack. > */ > #define LWIP_NETIF_LOOPBACK 1 Hi Sylvain, Thanks, it works with above setting.
Axel _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
