Repository navigation
fix(ipv4): word the SEC termination-indicator warning the right way round (#2295) - #2372
Conversation
…ound (#2295) Problem: _read_opt_sec warns when the final protection authority octet has its low-order bit (the RFC 1108 field termination indicator) set, but the message said the indicator was "not set". Fix: describe the observed bit and its value, as in "field termination indicator set on the final octet: 145". Test: test_sec_termination_indicator_follows_rfc_1108 pins the exact message for SEC option 8204ab91.
|
Review: GOOD TO GO at Ready to merge. |
|
Correction: "Ready to merge" above was premature — CI still has 13 checks not yet complete (pending/queued). Review verdict stands (GOOD TO GO), but holding the ready call until CI actually finishes. |
|
Coverage: 91.58% (unit tier, Python 3.15,
Per-file detail: the |
|
Ready to merge — confirming this time with the full check state. Review: GOOD TO GO (Sonnet) at |
make testpasses, and a test case covers the changeWhat is the purpose of your pull request?
fix — bug fixDescription
Closes #2295.
_read_opt_secwarns when the final protection-authority octet has its low-order bit (the RFC 1108 field termination indicator) set, but the message said the indicator was "not set" — backwards from what was observed.field termination indicator set on the final octet: 145.test_sec_termination_indicator_follows_rfc_1108pins the exact message for SEC option8204ab91.