diff options
author | Thomas Haller <thaller@redhat.com> | 2022-03-17 09:52:27 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-03-18 15:36:43 +0100 |
commit | b3192d2d46fac196c6eb91af0764f7a3b652b697 (patch) | |
tree | e685638d78385611e63dcc963b69a80a19a90774 | |
parent | 14b9a9bd9db722812cff2290362a668df2a6b585 (diff) |
device: allow reapply for changed "connection.autoconnect-slaves" property
We list the properties that can be reapplied, and reject the reapply
operation for any other changes. The idea is that usually reapply
of a property requires an explicit implementation (or may not make
sense).
"connection.autoconnect-slaves" is something that takes effect when
activating the master device. It does not matter when the device
is already active, thus there is no need to reject the reapply
operation.
https://bugzilla.redhat.com/show_bug.cgi?id=2065049
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1150
-rw-r--r-- | src/core/devices/nm-device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/devices/nm-device.c b/src/core/devices/nm-device.c index 47daa92e81..e9bf8afcf9 100644 --- a/src/core/devices/nm-device.c +++ b/src/core/devices/nm-device.c @@ -12462,6 +12462,7 @@ can_reapply_change(NMDevice *self, NM_SETTING_CONNECTION_UUID, NM_SETTING_CONNECTION_STABLE_ID, NM_SETTING_CONNECTION_AUTOCONNECT, + NM_SETTING_CONNECTION_AUTOCONNECT_SLAVES, NM_SETTING_CONNECTION_ZONE, NM_SETTING_CONNECTION_METERED, NM_SETTING_CONNECTION_LLDP, |