[PATCH v3 13/21] l2tp: Do not save the password

Jukka Rissanen jukka.rissanen at linux.intel.com
Fri Nov 30 01:30:46 PST 2012


---
 vpn/plugins/l2tp.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/vpn/plugins/l2tp.c b/vpn/plugins/l2tp.c
index 9729a75..d7439cd 100644
--- a/vpn/plugins/l2tp.c
+++ b/vpn/plugins/l2tp.c
@@ -271,12 +271,6 @@ static int l2tp_save(struct vpn_provider *provider, GKeyFile *keyfile)
 		}
 	}
 
-	option = vpn_provider_get_string(provider, "L2TP.Password");
-	if (option != NULL)
-		g_key_file_set_string(keyfile,
-					vpn_provider_get_save_group(provider),
-					"L2TP.Password", option);
-
 	return 0;
 }
 
-- 
1.7.11.4




More information about the connman mailing list