From b06e6c60a96c25be81c5776159693ca4c6b7cce3 Mon Sep 17 00:00:00 2001 From: nifi Date: Fri, 8 Feb 2008 09:12:57 +0000 Subject: [PATCH] Name fix on uip_all_zeroes_addr --- core/net/uip-fw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;