summaryrefslogtreecommitdiff
path: root/src/libcharon/plugins/eap_gtc/eap_gtc.c
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2014-03-11 20:48:48 +0100
committerYves-Alexis Perez <corsac@debian.org>2014-03-11 20:48:48 +0100
commitb96bc2fcc06cc6c1762dc193a5117ebcb956e220 (patch)
tree4915ecb47936524433c6578526cc5d25a0d2913c /src/libcharon/plugins/eap_gtc/eap_gtc.c
parent4a7efb286aaf809849d56841b59c2d733e8dff49 (diff)
parent15fb7904f4431a6e7c305fd08732458f7f885e7e (diff)
downloadvyos-strongswan-b96bc2fcc06cc6c1762dc193a5117ebcb956e220.tar.gz
vyos-strongswan-b96bc2fcc06cc6c1762dc193a5117ebcb956e220.zip
Merge tag 'upstream/5.1.2'
Upstream version 5.1.2
Diffstat (limited to 'src/libcharon/plugins/eap_gtc/eap_gtc.c')
-rw-r--r--src/libcharon/plugins/eap_gtc/eap_gtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/eap_gtc/eap_gtc.c b/src/libcharon/plugins/eap_gtc/eap_gtc.c
index 2f64f325c..e751b51b6 100644
--- a/src/libcharon/plugins/eap_gtc/eap_gtc.c
+++ b/src/libcharon/plugins/eap_gtc/eap_gtc.c
@@ -149,7 +149,7 @@ METHOD(eap_method_t, process_server, status_t,
/* get XAuth backend to use for credential verification. Default to PAM
* to support legacy EAP-GTC configurations */
backend = lib->settings->get_str(lib->settings,
- "%s.plugins.eap-gtc.backend", "pam", charon->name);
+ "%s.plugins.eap-gtc.backend", "pam", lib->ns);
xauth = charon->xauth->create_instance(charon->xauth, backend, XAUTH_SERVER,
this->server, this->peer);
if (!xauth)