Skip to content
Snippets Groups Projects
Commit 432f6c34 authored by Cenk Gündoğan's avatar Cenk Gündoğan
Browse files

ndp: use on-link flag instead of auto flag

parent ab3345ac
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, ...@@ -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 */ /* TODO: preferred lifetime for address auto configuration */
/* on-link flag MUST stay set if it was */ /* 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); netif_addr->flags |= (pi_opt->flags & NDP_OPT_PI_FLAGS_MASK);
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment