mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-18 03:30:31 +00:00
Neighbor state notification also when adding new neighbors
This commit is contained in:
parent
052c8db9f9
commit
c623616afd
@ -334,6 +334,7 @@ uip_ds6_nbr_add(uip_ipaddr_t * ipaddr, uip_lladdr_t * lladdr,
|
|||||||
PRINTF("link addr");
|
PRINTF("link addr");
|
||||||
PRINTLLADDR((&(locnbr->lladdr)));
|
PRINTLLADDR((&(locnbr->lladdr)));
|
||||||
PRINTF("state %u\n", state);
|
PRINTF("state %u\n", state);
|
||||||
|
NEIGHBOR_STATE_CHANGED(locnbr);
|
||||||
return locnbr;
|
return locnbr;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user