diff --git a/core/net/uip-fw.c b/core/net/uip-fw.c index f9a0fe7b7..c87e55fd5 100644 --- a/core/net/uip-fw.c +++ b/core/net/uip-fw.c @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: uip-fw.c,v 1.10 2008/02/07 01:33:47 adamdunkels Exp $ + * $Id: uip-fw.c,v 1.11 2008/02/08 09:12:57 nifi Exp $ */ /** * \addtogroup uip @@ -421,7 +421,7 @@ uip_fw_forward(void) /* If we use ping IP address configuration, and our IP address is not yet configured, we should intercept all ICMP echo packets. */ #if UIP_PINGADDRCONF - if(uip_ipaddr_cmp(&uip_hostaddr, &all_zeroes_addr) && + if(uip_ipaddr_cmp(&uip_hostaddr, &uip_all_zeroes_addr) && BUF->proto == UIP_PROTO_ICMP && ICMPBUF->type == ICMP_ECHO) { return UIP_FW_LOCAL;