mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-08 23:10: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
This commit is contained in:
parent
96d5d66460
commit
9e41ed4461
1 changed files with 3 additions and 0 deletions
|
|
@ -9445,6 +9445,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