mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
ndp: use on-link flag instead of auto flag
This commit is contained in:
parent
ab3345ac5a
commit
432f6c34ab
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user