projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa16382
)
l2tp: Remember the connection password
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Mon, 12 Nov 2012 12:07:48 +0000
(14:07 +0200)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 23 Nov 2012 10:58:52 +0000
(12:58 +0200)
vpn/plugins/l2tp.c
patch
|
blob
|
history
diff --git
a/vpn/plugins/l2tp.c
b/vpn/plugins/l2tp.c
index
5a11e52
..
4cb4b6a
100644
(file)
--- a/
vpn/plugins/l2tp.c
+++ b/
vpn/plugins/l2tp.c
@@
-258,6
+258,13
@@
static int l2tp_save(struct vpn_provider *provider, GKeyFile *keyfile)
pppd_options[i].cm_opt, option);
}
}
+
+ 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;
}