Skip to content
Snippets Groups Projects
Commit c6aa1441 authored by Martine Lenders's avatar Martine Lenders
Browse files

Merge pull request #4347 from cgundogan/pr/ndp/use_correct_flag

ndp: use on-link flag instead of auto flag
parents b56dd124 432f6c34
Branches
No related tags found
No related merge requests found
......@@ -746,7 +746,7 @@ bool gnrc_ndp_internal_pi_opt_handle(kernel_pid_t iface, uint8_t icmpv6_type,
}
/* TODO: preferred lifetime for address auto configuration */
/* on-link flag MUST stay set if it was */
netif_addr->flags &= ~NDP_OPT_PI_FLAGS_A;
netif_addr->flags &= NDP_OPT_PI_FLAGS_L;
netif_addr->flags |= (pi_opt->flags & NDP_OPT_PI_FLAGS_MASK);
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment