Skip to content

refactor: use PMTUD_MARKER const for the payload marker write - #118

Merged
lance0 merged 1 commit into
masterfrom
refactor/pmtud-marker-const
Jul 6, 2026
Merged

lance0 merged 1 commit into
masterfrom
refactor/pmtud-marker-const

Conversation

@lance0

@lance0 lance0 commented Jul 6, 2026

Copy link
Copy Markdown
Owner

The receiver already matches PMTUD echo replies on icmp::PMTUD_MARKER, but the send side wrote the bare literal 0x50. Use the const on both sides so the write and read can't drift apart. No behavior change — the values are identical.

The read side (correlate.rs) already references icmp::PMTUD_MARKER; write the same const instead of a bare 0x50 so the two can't drift. No behavior change.
@lance0
lance0 merged commit 029fb41 into master Jul 6, 2026
5 checks passed
@lance0
lance0 deleted the refactor/pmtud-marker-const branch July 6, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant