Name fix on uip_all_zeroes_addr

This commit is contained in:
nifi 2008-02-08 09:12:57 +00:00
parent bdceab824a
commit b06e6c60a9

View file

@ -30,7 +30,7 @@
*
* Author: Adam Dunkels <adam@sics.se>
*
* $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;