The RPL_PARENT_COUNT() macro doesn't exist anymore - use the uip_ds6_nbr_num() function instead

This commit is contained in:
Adam Dunkels 2013-11-20 15:14:34 +01:00
parent b0460317b8
commit 9f2e233770

View file

@ -142,7 +142,7 @@ collect_common_send(void)
} }
rtmetric = dag->rank; rtmetric = dag->rank;
beacon_interval = (uint16_t) ((2L << dag->instance->dio_intcurrent) / 1000); beacon_interval = (uint16_t) ((2L << dag->instance->dio_intcurrent) / 1000);
num_neighbors = RPL_PARENT_COUNT(dag); num_neighbors = uip_ds6_nbr_num();
} else { } else {
rtmetric = 0; rtmetric = 0;
beacon_interval = 0; beacon_interval = 0;