mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Merge pull request #987 from ioannisg/send-ns-in-tcpip_ipv6_output
Send the first NS attempt inside tcpip_ipv6_output()
This commit is contained in:
commit
1a6681a09d
@ -660,7 +660,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
|
||||||
@ -707,7 +711,6 @@ tcpip_ipv6_output(void)
|
|||||||
uip_clear_buf();
|
uip_clear_buf();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
/* Multicast IP destination address. */
|
/* Multicast IP destination address. */
|
||||||
tcpip_output(NULL);
|
tcpip_output(NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user