diff options
Diffstat (limited to 'nuttx/net/uip/uip-input.c')
-rw-r--r-- | nuttx/net/uip/uip-input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/net/uip/uip-input.c b/nuttx/net/uip/uip-input.c index acb18990b..52f29f20c 100644 --- a/nuttx/net/uip/uip-input.c +++ b/nuttx/net/uip/uip-input.c @@ -407,6 +407,7 @@ void uip_input(struct uip_driver_s *dev) else #endif +#ifdef CONFIG_NET_ICMP if (uip_ipaddr_cmp(dev->d_ipaddr, g_allzeroaddr)) { /* If we are configured to use ping IP address configuration and @@ -431,6 +432,7 @@ void uip_input(struct uip_driver_s *dev) /* Check if the pack is destined for out IP address */ else +#endif { /* Check if the packet is destined for our IP address. */ #ifndef CONFIG_NET_IPv6 |