mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 16:01:18 +01:00
Merge pull request #4007 from cgundogan/pr/rpl/dao_entries_numof
rpl: use GNRC_IPV6_FIB_TABLE_SIZE to query for fib entries
This commit is contained in:
commit
481fb7fc3b
@ -625,8 +625,8 @@ void _dao_fill_target(gnrc_rpl_opt_target_t *target, ipv6_addr_t *addr)
|
||||
|
||||
void gnrc_rpl_send_DAO(gnrc_rpl_dodag_t *dodag, ipv6_addr_t *destination, uint8_t lifetime)
|
||||
{
|
||||
size_t dst_size = GNRC_RPL_PARENTS_NUMOF;
|
||||
fib_destination_set_entry_t fib_dest_set[GNRC_RPL_PARENTS_NUMOF];
|
||||
size_t dst_size = GNRC_IPV6_FIB_TABLE_SIZE;
|
||||
fib_destination_set_entry_t fib_dest_set[GNRC_IPV6_FIB_TABLE_SIZE];
|
||||
|
||||
if (dodag == NULL) {
|
||||
DEBUG("RPL: Error - trying to send DAO without being part of a dodag.\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user