Skip to content

Shadow writes the wrong TCP header length in pcap files #2619

@rwails

Description

@rwails

Describe the issue

Shadow writes the wrong TCP header length in pcap files

Additional context

Shadow currently reports that the TCP segment length is 32 bytes. That's wrong: TCP header sizes are currently 20 bytes.

Here's the offending line:

let header_len: u8 = 0x80;

This should instead match the CONFIG_HEADER_SIZE_TCP macro constant defined in definitions.h.

Metadata

Metadata

Assignees

Labels

Component: ToolsPeripheral tools like parsing log files or visualizing resultsType: BugError or flaw producing unexpected results

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions