Skip to content

Introduced change creates problem with spurious data #249

Description

@aasselin

Hello

uint16_t ip_payload_len = pi.ip_datalen - ip_header_len;

the old code here would read :
uint16_t ip_payload_len = ip_len - ip_header_len;

it was changed to:
uint16_t ip_payload_len = pi.ip_datalen - ip_header_len;

but the new codes just ignores the header information.
In our use case, there are 2 to 6 paddings bytes at the end of the IP data packet, introduce by some hardware device.

Please revert the code.
Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions