mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 07:10:23 +01:00
libnm-core: Correct an error message
wpa-eap-suite-b-192 is also valid here, so mention it in the error message.
This commit is contained in:
parent
29c7debf40
commit
97a49430bb
1 changed files with 7 additions and 7 deletions
|
|
@ -1104,13 +1104,13 @@ verify(NMSetting *setting, NMConnection *connection, GError **error)
|
|||
"wpa-psk",
|
||||
"sae",
|
||||
"owe")) {
|
||||
g_set_error(
|
||||
error,
|
||||
NM_CONNECTION_ERROR,
|
||||
NM_CONNECTION_ERROR_INVALID_PROPERTY,
|
||||
_("'%s' can only be used with 'wpa-eap', 'wpa-eap-suite-b-192', 'wpa-psk' or 'sae' key "
|
||||
"management "),
|
||||
priv->pmf == NM_SETTING_WIRELESS_SECURITY_PMF_OPTIONAL ? "optional" : "required");
|
||||
g_set_error(error,
|
||||
NM_CONNECTION_ERROR,
|
||||
NM_CONNECTION_ERROR_INVALID_PROPERTY,
|
||||
_("'%s' can only be used with 'owe', 'wpa-psk', 'sae', 'wpa-eap' "
|
||||
"or 'wpa-eap-suite-b-192' key management"),
|
||||
priv->pmf == NM_SETTING_WIRELESS_SECURITY_PMF_OPTIONAL ? "optional"
|
||||
: "required");
|
||||
g_prefix_error(error,
|
||||
"%s.%s: ",
|
||||
NM_SETTING_WIRELESS_SECURITY_SETTING_NAME,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue