mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 08:18:03 +02:00
ifupdown: fix mapping for 'password', 'identity', and 'key'
This commit is contained in:
parent
e273f87379
commit
333b1ec74f
1 changed files with 4 additions and 4 deletions
|
|
@ -301,9 +301,9 @@ update_wireless_security_setting_from_if_block(NMConnection *connection,
|
||||||
const gchar* value = ifparser_getkey (block, "inet");
|
const gchar* value = ifparser_getkey (block, "inet");
|
||||||
struct _Mapping mapping[] = {
|
struct _Mapping mapping[] = {
|
||||||
{"psk", "psk"},
|
{"psk", "psk"},
|
||||||
{"identity", "identity"},
|
{"identity", "leap-username"},
|
||||||
{"password", "password"},
|
{"password", "leap-password"},
|
||||||
{"key", "key"},
|
{"key", "wep-key0"},
|
||||||
{"key-mgmt", "key-mgmt"},
|
{"key-mgmt", "key-mgmt"},
|
||||||
{"group", "group"},
|
{"group", "group"},
|
||||||
{"pairwise", "pairwise"},
|
{"pairwise", "pairwise"},
|
||||||
|
|
@ -420,7 +420,7 @@ update_wireless_security_setting_from_if_block(NMConnection *connection,
|
||||||
property_value
|
property_value
|
||||||
#else // DEBUG_SECRETS
|
#else // DEBUG_SECRETS
|
||||||
!strcmp("key", newkey) ||
|
!strcmp("key", newkey) ||
|
||||||
!strcmp("password", newkey) ||
|
!strcmp("leap-password", newkey) ||
|
||||||
!strcmp("pin", newkey) ||
|
!strcmp("pin", newkey) ||
|
||||||
!strcmp("psk", newkey) ||
|
!strcmp("psk", newkey) ||
|
||||||
!strcmp("wep-key0", newkey) ||
|
!strcmp("wep-key0", newkey) ||
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue