updated more nbr_add calls

This commit is contained in:
Joakim Eriksson 2015-09-20 21:17:32 +02:00
parent 444015df67
commit 4246a8fbe6
2 changed files with 10 additions and 7 deletions

View file

@ -644,7 +644,7 @@ tcpip_ipv6_output(void)
nbr = uip_ds6_nbr_lookup(nexthop);
if(nbr == NULL) {
#if UIP_ND6_SEND_NA
if((nbr = uip_ds6_nbr_add(nexthop, NULL, 0, NBR_INCOMPLETE)) == NULL) {
if((nbr = uip_ds6_nbr_add(nexthop, NULL, 0, NBR_INCOMPLETE, NBR_TABLE_REASON_IPV6_ND, NULL)) == NULL) {
uip_clear_buf();
return;
} else {