From 95de3bee86646852278930c36cb1f5246468e9df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8D=C3=B1igo=20Huguet?= Date: Tue, 11 Mar 2025 10:28:36 +0100 Subject: [PATCH] bond: fix wrong property name in error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contributed-by: Jiří Boháč (https://gitlab.freedesktop.org/jbohac) Fixes https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1720 --- src/libnm-core-impl/nm-setting-bond.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libnm-core-impl/nm-setting-bond.c b/src/libnm-core-impl/nm-setting-bond.c index 60ae029468..7204df4828 100644 --- a/src/libnm-core-impl/nm-setting-bond.c +++ b/src/libnm-core-impl/nm-setting-bond.c @@ -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;