mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 04:28:00 +02:00
core: slaves have configuration by definition
The mere fact that a device is a slave means it has configuration that NetworkManager should try to read.
This commit is contained in:
parent
76ca47e6b3
commit
93ad84a498
1 changed files with 4 additions and 0 deletions
|
|
@ -1632,6 +1632,10 @@ device_has_config (NMDevice *device)
|
|||
if (nm_device_is_software (device))
|
||||
return TRUE;
|
||||
|
||||
/* Slaves are also configured by definition */
|
||||
if (nm_platform_link_get_master (priv->ifindex) > 0)
|
||||
return TRUE;
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue