bond: fix wrong property name in error message
Contributed-by: Jiří Boháč (https://gitlab.freedesktop.org/jbohac) Fixes https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1720
This commit is contained in:

committed by
Íñigo Huguet

parent
45e7e158c1
commit
95de3bee86
@@ -1118,7 +1118,7 @@ verify(NMSetting *setting, NMConnection *connection, GError **error)
|
||||
NM_CONNECTION_ERROR,
|
||||
NM_CONNECTION_ERROR_INVALID_PROPERTY,
|
||||
_("'%s' option is only valid with mode '%s'"),
|
||||
NM_SETTING_BOND_OPTION_LACP_RATE,
|
||||
NM_SETTING_BOND_OPTION_LACP_ACTIVE,
|
||||
"802.3ad");
|
||||
g_prefix_error(error, "%s.%s: ", NM_SETTING_BOND_SETTING_NAME, NM_SETTING_BOND_OPTIONS);
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user