Fixed header length calculation of DELETE payload.
This commit is contained in:
@@ -211,9 +211,9 @@ METHOD(payload_t, get_header_length, int,
|
|||||||
{
|
{
|
||||||
if (this->type == DELETE)
|
if (this->type == DELETE)
|
||||||
{
|
{
|
||||||
return 8 + this->spi_size;
|
return 8;
|
||||||
}
|
}
|
||||||
return 12 + this->spi_size;
|
return 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
METHOD(payload_t, get_payload_type, payload_type_t,
|
METHOD(payload_t, get_payload_type, payload_type_t,
|
||||||
|
|||||||
Reference in New Issue
Block a user