mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 01:50:08 +01:00
libnm-core/libnm-util: fix an erroneous error message
ipv6.dns: 'this property is not allowed for '%s=%s'' not allowed for method=ignore
(cherry picked from commit 12e6cf1f20)
This commit is contained in:
parent
1b253ee722
commit
b1dffe1391
2 changed files with 0 additions and 2 deletions
|
|
@ -130,7 +130,6 @@ verify (NMSetting *setting, NMConnection *connection, GError **error)
|
|||
g_set_error (error,
|
||||
NM_CONNECTION_ERROR,
|
||||
NM_CONNECTION_ERROR_INVALID_PROPERTY,
|
||||
_("'%s' not allowed for %s=%s"),
|
||||
_("this property is not allowed for '%s=%s'"),
|
||||
NM_SETTING_IP_CONFIG_METHOD, method);
|
||||
g_prefix_error (error, "%s.%s: ", NM_SETTING_IP6_CONFIG_SETTING_NAME, NM_SETTING_IP_CONFIG_DNS);
|
||||
|
|
|
|||
|
|
@ -854,7 +854,6 @@ verify (NMSetting *setting, GSList *all_settings, GError **error)
|
|||
g_set_error (error,
|
||||
NM_SETTING_IP6_CONFIG_ERROR,
|
||||
NM_SETTING_IP6_CONFIG_ERROR_NOT_ALLOWED_FOR_METHOD,
|
||||
_("'%s' not allowed for %s=%s"),
|
||||
_("this property is not allowed for '%s=%s'"),
|
||||
NM_SETTING_IP6_CONFIG_METHOD, priv->method);
|
||||
g_prefix_error (error, "%s.%s: ", NM_SETTING_IP6_CONFIG_SETTING_NAME, NM_SETTING_IP6_CONFIG_DNS);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue