diff --git a/examples/ipv6/rpl-collect/udp-sender.c b/examples/ipv6/rpl-collect/udp-sender.c index 2c0faa059..fa5c80790 100644 --- a/examples/ipv6/rpl-collect/udp-sender.c +++ b/examples/ipv6/rpl-collect/udp-sender.c @@ -144,7 +144,7 @@ collect_common_send(void) } } rtmetric = dag->rank; - beacon_interval = (uint16_t) ((2L << dag->dio_intcurrent) / 1000); + beacon_interval = (uint16_t) ((2L << dag->instance->dio_intcurrent) / 1000); num_neighbors = RPL_PARENT_COUNT(dag); } else { rtmetric = 0;