Small fixes to networking files
1. Added #include header 2. Fixed #defines that weren't updated 3. Small change to comment that now points to correct RFC section
This commit is contained in:
parent
55686d7ca2
commit
bc762b6dd6
3 changed files with 5 additions and 3 deletions
|
@ -205,8 +205,9 @@ uip_ds6_link_neighbor_callback(int status, int numtx)
|
|||
uip_ds6_nbr_t *nbr;
|
||||
nbr = uip_ds6_nbr_ll_lookup((uip_lladdr_t *)dest);
|
||||
if(nbr != NULL &&
|
||||
(nbr->state == STALE || nbr->state == DELAY || nbr->state == PROBE)) {
|
||||
nbr->state = REACHABLE;
|
||||
(nbr->state == NBR_STALE || nbr->state == NBR_DELAY ||
|
||||
nbr->state == NBR_PROBE)) {
|
||||
nbr->state = NBR_REACHABLE;
|
||||
stimer_set(&nbr->reachable, UIP_ND6_REACHABLE_TIME / 1000);
|
||||
PRINTF("uip-ds6-neighbor : received a link layer ACK : ");
|
||||
PRINTLLADDR((uip_lladdr_t *)dest);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue