Skip to content

Commit 1770c8d

Browse files
committed
Fix location of misleading comment
Fixes contiki-ng#1028
1 parent 66f542f commit 1770c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

os/net/routing/rpl-lite/rpl-dag.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,10 +446,10 @@ process_dio_from_current_dag(uip_ipaddr_t *from, rpl_dio_t *dio)
446446
return;
447447
}
448448

449-
/* Add neighbor to RPL neighbor table */
450449
nbr = rpl_neighbor_get_from_ipaddr(from);
451450
last_dtsn = nbr != NULL ? nbr->dtsn : RPL_LOLLIPOP_INIT;
452451

452+
/* Add neighbor to RPL neighbor table */
453453
if(!update_nbr_from_dio(from, dio)) {
454454
LOG_ERR("neighbor table full, dropping DIO\n");
455455
return;

0 commit comments

Comments
 (0)