Send the first NS attempt inside tcpip_ipv6_output()
This commit is contained in:
parent
2734c97234
commit
8552fb1ead
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue