Browse Source

EAP-IKEv2 peer: Fix fragmentation reassembly

ret->ignore needs to be cleared to FALSE when sending fragment ack
message to avoid ignoring the fragment.

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 10 years ago
parent
commit
bb68a6e3cc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/eap_peer/eap_ikev2.c

+ 1 - 0
src/eap_peer/eap_ikev2.c

@@ -322,6 +322,7 @@ static struct wpabuf * eap_ikev2_process_fragment(struct eap_ikev2_data *data,
 			   (unsigned long) wpabuf_tailroom(data->in_buf));
 	}
 
+	ret->ignore = FALSE;
 	return eap_ikev2_build_frag_ack(id, EAP_CODE_RESPONSE);
 }