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

Sylvain

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to