mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 23:50:16 +01:00
keyfile: don't put VPN 'user-name' property to vpn.data on read (rh #1060460)
https://bugzilla.redhat.com/show_bug.cgi?id=1060460
This commit is contained in:
parent
429023b24e
commit
050c30da0b
1 changed files with 1 additions and 1 deletions
|
|
@ -610,7 +610,7 @@ read_hash_of_string (GKeyFile *file, NMSetting *setting, const char *key)
|
|||
continue;
|
||||
|
||||
if (NM_IS_SETTING_VPN (setting)) {
|
||||
if (strcmp (*iter, NM_SETTING_VPN_SERVICE_TYPE))
|
||||
if (strcmp (*iter, NM_SETTING_VPN_SERVICE_TYPE) && strcmp (*iter, NM_SETTING_VPN_USER_NAME))
|
||||
nm_setting_vpn_add_data_item (NM_SETTING_VPN (setting), *iter, value);
|
||||
}
|
||||
if (NM_IS_SETTING_BOND (setting)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue