The RPL_PARENT_COUNT() macro doesn't exist anymore - use the uip_ds6_nbr_num() function instead
This commit is contained in:
parent
b0460317b8
commit
9f2e233770
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ collect_common_send(void)
|
|||
}
|
||||
rtmetric = dag->rank;
|
||||
beacon_interval = (uint16_t) ((2L << dag->instance->dio_intcurrent) / 1000);
|
||||
num_neighbors = RPL_PARENT_COUNT(dag);
|
||||
num_neighbors = uip_ds6_nbr_num();
|
||||
} else {
|
||||
rtmetric = 0;
|
||||
beacon_interval = 0;
|
||||
|
|
Loading…
Reference in a new issue