mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-11 06:00:35 +01:00
device: allow reapply of all "user" settings
[user] are arbitrary strings that can be attached to a connection. NetworkManager itself does not care about them, they are only here for other applications. Allow reapplying changes to the user setting. Usually the reason to reject reapplying a setting is because it's either not implemented or not possible to change (without a full reactivation of the device). In this case there is nothing to implement, and of course it's possible to do so.
This commit is contained in:
parent
52c0304bbd
commit
2025e3585f
1 changed files with 2 additions and 0 deletions
|
|
@ -50,6 +50,7 @@
|
|||
#include "settings/nm-settings-connection.h"
|
||||
#include "settings/nm-settings.h"
|
||||
#include "nm-setting-ethtool.h"
|
||||
#include "nm-setting-user.h"
|
||||
#include "nm-auth-utils.h"
|
||||
#include "nm-keep-alive.h"
|
||||
#include "nm-netns.h"
|
||||
|
|
@ -11651,6 +11652,7 @@ can_reapply_change (NMDevice *self,
|
|||
NM_SETTING_CONNECTION_MDNS,
|
||||
NM_SETTING_CONNECTION_LLMNR);
|
||||
} else if (NM_IN_STRSET (setting_name,
|
||||
NM_SETTING_USER_SETTING_NAME,
|
||||
NM_SETTING_PROXY_SETTING_NAME,
|
||||
NM_SETTING_IP4_CONFIG_SETTING_NAME,
|
||||
NM_SETTING_IP6_CONFIG_SETTING_NAME)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue