allow to send an EAP Identity response without matching request

This commit is contained in:
Andreas Steffen
2010-08-13 22:41:00 +02:00
parent c4347aa86e
commit 486893ee52
@@ -71,7 +71,7 @@ METHOD(eap_method_t, process_peer, status_t,
hdr = alloca(len);
hdr->code = EAP_RESPONSE;
hdr->identifier = in->get_identifier(in);
hdr->identifier = in ? in->get_identifier(in) : 0;
hdr->length = htons(len);
hdr->type = EAP_IDENTITY;
memcpy(hdr->data, id.ptr, id.len);