l2tp: Set the username/password before starting daemon
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 13 Feb 2013 15:29:01 +0000 (17:29 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 19 Feb 2013 10:51:43 +0000 (12:51 +0200)
commit5052b3acb5d041ed9dd00397a36563850faacf00
tree3b1f81d5ee25129b23f066bb30c1c7c76c4ea9b4
parente12220c94a4fda7c987e24e3368e3f76760f18ec
l2tp: Set the username/password before starting daemon

This is required in order to avoid free memory access that
is happening if we call vpn_provider_set_string() with same
string that is already in the settings db.
vpn/plugins/l2tp.c