send tunneled EAP Identity response using eap-identity plugin
[strongswan.git] / src / libcharon / plugins / eap_ttls / eap_ttls.c
index 04ae138..56713c3 100644 (file)
@@ -456,5 +456,5 @@ eap_ttls_t *eap_ttls_create_peer(identification_t *server,
                                                           identification_t *peer)
 {
        return eap_ttls_create(server, peer, FALSE,
-                                                  &eap_ttls_peer_create(peer)->application);
+                                                  &eap_ttls_peer_create(server, peer)->application);
 }