contiki/core/net/ipv6
Mohamed Seliem 675d9325b9 DAD: Remove useless "if" that tests if the source address is unspecified
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)  .
2016-09-10 10:56:19 +02:00
..
multicast Merge pull request #1689 from kqorany/kqorany-esmrf 2016-06-28 23:23:30 +01:00
sicslowpan.c
sicslowpan.h
uip6.c Merge pull request #1217 from tiagoshibata/c64_compilation_fixes 2016-07-25 14:57:24 +02:00
uip-ds6-nbr.c Added link-stats module to keep strack of link statistics and their freshness 2016-06-03 15:46:04 +02:00
uip-ds6-nbr.h remove duplicate include 2016-07-01 11:12:52 +02:00
uip-ds6-route.c
uip-ds6-route.h
uip-ds6.c
uip-ds6.h
uip-icmp6.c Insert RPL ext header in tcpip_ipv6_output for consistency 2016-06-29 17:25:10 +02:00
uip-icmp6.h
uip-nd6.c DAD: Remove useless "if" that tests if the source address is unspecified 2016-09-10 10:56:19 +02:00
uip-nd6.h