mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 01:50:25 +01:00
platform: assume support for IPv6 temporary addrsses if detection fails
We detect support for IPv6 temporary addresses (IFA_F_MANAGETEMPADDR) or /64 v6 prefixes (IFA_F_NOPREFIXROUTE) based on the presence of extended address flags. For the most part this just works, but it fails down if upon initialization no addresses are present. In such a case we would have assumed no support. Change that to default to available support as the feature is already 2 years in upstream kernel.
This commit is contained in:
parent
e58b3dac80
commit
bd17fc6d24
1 changed files with 2 additions and 2 deletions
|
|
@ -2338,8 +2338,8 @@ static gboolean
|
|||
_support_kernel_extended_ifa_flags_get (void)
|
||||
{
|
||||
if (_support_kernel_extended_ifa_flags_still_undecided ()) {
|
||||
_LOG2W ("support: kernel-extended-ifa-flags: unable to detect kernel support for handling IPv6 temporary addresses. Assume none");
|
||||
_support_kernel_extended_ifa_flags = 0;
|
||||
_LOG2W ("support: kernel-extended-ifa-flags: unable to detect kernel support for handling IPv6 temporary addresses. Assume support");
|
||||
_support_kernel_extended_ifa_flags = 1;
|
||||
}
|
||||
return _support_kernel_extended_ifa_flags;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue