allow to send an EAP Identity response without matching request
This commit is contained in:
@@ -71,7 +71,7 @@ METHOD(eap_method_t, process_peer, status_t,
|
|||||||
|
|
||||||
hdr = alloca(len);
|
hdr = alloca(len);
|
||||||
hdr->code = EAP_RESPONSE;
|
hdr->code = EAP_RESPONSE;
|
||||||
hdr->identifier = in->get_identifier(in);
|
hdr->identifier = in ? in->get_identifier(in) : 0;
|
||||||
hdr->length = htons(len);
|
hdr->length = htons(len);
|
||||||
hdr->type = EAP_IDENTITY;
|
hdr->type = EAP_IDENTITY;
|
||||||
memcpy(hdr->data, id.ptr, id.len);
|
memcpy(hdr->data, id.ptr, id.len);
|
||||||
|
|||||||
Reference in New Issue
Block a user