675d9325b9
No need to do the unspecified address twice. #if UIP_ND6_DEF_MAXDADNS > 0 if(uip_is_addr_unspecified(&UIP_IP_BUF->srcipaddr)) { /* DAD CASE */ .......... #else /* UIP_ND6_DEF_MAXDADNS > 0 */ if(uip_is_addr_unspecified(&UIP_IP_BUF->srcipaddr)) { /* DAD CASE */ goto discard; #endif /* UIP_ND6_DEF_MAXDADNS > 0 */ this logic will bring confusion, especially if you analyze the other ND functions (NUD, address resolution) . |
||
---|---|---|
.. | ||
multicast | ||
sicslowpan.c | ||
sicslowpan.h | ||
uip6.c | ||
uip-ds6-nbr.c | ||
uip-ds6-nbr.h | ||
uip-ds6-route.c | ||
uip-ds6-route.h | ||
uip-ds6.c | ||
uip-ds6.h | ||
uip-icmp6.c | ||
uip-icmp6.h | ||
uip-nd6.c | ||
uip-nd6.h |