mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-13 06:10:20 +01: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");
|
||||
struct _Mapping mapping[] = {
|
||||
{"psk", "psk"},
|
||||
{"identity", "identity"},
|
||||
{"password", "password"},
|
||||
{"key", "key"},
|
||||
{"identity", "leap-username"},
|
||||
{"password", "leap-password"},
|
||||
{"key", "wep-key0"},
|
||||
{"key-mgmt", "key-mgmt"},
|
||||
{"group", "group"},
|
||||
{"pairwise", "pairwise"},
|
||||
|
|
@ -420,7 +420,7 @@ update_wireless_security_setting_from_if_block(NMConnection *connection,
|
|||
property_value
|
||||
#else // DEBUG_SECRETS
|
||||
!strcmp("key", newkey) ||
|
||||
!strcmp("password", newkey) ||
|
||||
!strcmp("leap-password", newkey) ||
|
||||
!strcmp("pin", newkey) ||
|
||||
!strcmp("psk", newkey) ||
|
||||
!strcmp("wep-key0", newkey) ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue