Allow clients to request a configured EAP method via EAP-Nak

This commit is contained in:
Tobias Brunner
2012-08-31 11:40:27 +02:00
parent 34742f1bf8
commit 78e8dca94f
5 changed files with 37 additions and 8 deletions
@@ -192,7 +192,7 @@ METHOD(tls_application_t, process, status_t,
if (!this->method)
{
DBG1(DBG_IKE, "EAP method not supported");
this->out = eap_payload_create_nak(in->get_identifier(in),
this->out = eap_payload_create_nak(in->get_identifier(in), 0, 0,
received_vendor != 0);
in->destroy(in);
return NEED_MORE;