mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
Name fix on uip_all_zeroes_addr
This commit is contained in:
parent
bdceab824a
commit
b06e6c60a9
@ -30,7 +30,7 @@
|
|||||||
*
|
*
|
||||||
* Author: Adam Dunkels <adam@sics.se>
|
* 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
|
* \addtogroup uip
|
||||||
@ -421,7 +421,7 @@ uip_fw_forward(void)
|
|||||||
/* If we use ping IP address configuration, and our IP address is
|
/* If we use ping IP address configuration, and our IP address is
|
||||||
not yet configured, we should intercept all ICMP echo packets. */
|
not yet configured, we should intercept all ICMP echo packets. */
|
||||||
#if UIP_PINGADDRCONF
|
#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 &&
|
BUF->proto == UIP_PROTO_ICMP &&
|
||||||
ICMPBUF->type == ICMP_ECHO) {
|
ICMPBUF->type == ICMP_ECHO) {
|
||||||
return UIP_FW_LOCAL;
|
return UIP_FW_LOCAL;
|
||||||
|
Loading…
Reference in New Issue
Block a user