- Implemented and tested eap_payload_t
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
#include <encoding/payloads/vendor_id_payload.h>
|
||||
#include <encoding/payloads/cp_payload.h>
|
||||
#include <encoding/payloads/configuration_attribute.h>
|
||||
#include <encoding/payloads/eap_payload.h>
|
||||
|
||||
|
||||
typedef struct private_parser_t private_parser_t;
|
||||
@@ -873,6 +874,16 @@ static status_t parse_payload(private_parser_t *this, payload_type_t payload_typ
|
||||
}
|
||||
break;
|
||||
}
|
||||
case EAP_MESSAGE:
|
||||
{
|
||||
size_t data_length = payload_length - EAP_PAYLOAD_HEADER_LENGTH;
|
||||
if (this->parse_chunk(this, rule_number, output + rule->offset, data_length) != SUCCESS)
|
||||
{
|
||||
pld->destroy(pld);
|
||||
return PARSE_ERROR;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPIS:
|
||||
{
|
||||
size_t data_length = payload_length - DELETE_PAYLOAD_HEADER_LENGTH;
|
||||
|
||||
Reference in New Issue
Block a user