mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-22 05:20:29 +01:00
device: start managing external devices on reapply
In the next commit we will modify ipX_config_merge_and_apply to never
touch external devices. When a "reapply" call is issued on an external
device we are no longer simply tracking its state but we are actively
managing it and so its sys-iface-state must be promoted to managed.
https://bugzilla.redhat.com/show_bug.cgi?id=1512316
(cherry picked from commit 9e41ed4461)
This commit is contained in:
parent
3a8a9941df
commit
c516dca0d5
1 changed files with 3 additions and 0 deletions
|
|
@ -9444,6 +9444,9 @@ reapply_cb (NMDevice *self,
|
|||
return;
|
||||
}
|
||||
|
||||
if (nm_device_sys_iface_state_is_external (self))
|
||||
nm_device_sys_iface_state_set (self, NM_DEVICE_SYS_IFACE_STATE_MANAGED);
|
||||
|
||||
if (!check_and_reapply_connection (self,
|
||||
connection ? : (NMConnection *) nm_device_get_settings_connection (self),
|
||||
version_id,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue