mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-15 12:27:50 +00:00
Send the first NS attempt inside tcpip_ipv6_output()
This commit is contained in:
@@ -675,7 +675,11 @@ tcpip_ipv6_output(void)
|
|||||||
|
|
||||||
stimer_set(&nbr->sendns, uip_ds6_if.retrans_timer / 1000);
|
stimer_set(&nbr->sendns, uip_ds6_if.retrans_timer / 1000);
|
||||||
nbr->nscount = 1;
|
nbr->nscount = 1;
|
||||||
|
/* Send the first NS try from here (multicast destination IP address). */
|
||||||
}
|
}
|
||||||
|
#else /* UIP_ND6_SEND_NA */
|
||||||
|
uip_len = 0;
|
||||||
|
return;
|
||||||
#endif /* UIP_ND6_SEND_NA */
|
#endif /* UIP_ND6_SEND_NA */
|
||||||
} else {
|
} else {
|
||||||
#if UIP_ND6_SEND_NA
|
#if UIP_ND6_SEND_NA
|
||||||
@@ -722,7 +726,6 @@ tcpip_ipv6_output(void)
|
|||||||
uip_len = 0;
|
uip_len = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
/* Multicast IP destination address. */
|
/* Multicast IP destination address. */
|
||||||
tcpip_output(NULL);
|
tcpip_output(NULL);
|
||||||
|
Reference in New Issue
Block a user