networkd: Consider linkLocalAddressing state while configuring ndisc. (#7012)
If linkLocalAddressing is disabled in for the interface still then we look for ndisc configured or not in link_check_ready. Link local is used automatic address configuration and neighbor discovery protocol. If link local is disabled we should not configure ndisc. Fixes #2713, #6441, #5841.
This commit is contained in:
parent
19a44dfe45
commit
702c979fef
|
@ -226,6 +226,9 @@ static bool link_ipv6_accept_ra_enabled(Link *link) {
|
|||
if (!link->network)
|
||||
return false;
|
||||
|
||||
if (!link_ipv6ll_enabled(link))
|
||||
return false;
|
||||
|
||||
/* If unset use system default (enabled if local forwarding is disabled.
|
||||
* disabled if local forwarding is enabled).
|
||||
* If set, ignore or enforce RA independent of local forwarding state.
|
||||
|
|
Loading…
Reference in New Issue