Page MenuHomeFreeBSD

ping6: Consistently use the byteorder functions in the correct direction
ClosedPublic

Authored by jansucan on Aug 12 2019, 7:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 8, 6:43 AM
Unknown Object (File)
Feb 21 2024, 7:29 PM
Unknown Object (File)
Jan 13 2024, 7:41 PM
Unknown Object (File)
Jan 6 2024, 6:02 AM
Unknown Object (File)
Dec 23 2023, 11:29 AM
Unknown Object (File)
Dec 21 2023, 5:40 PM
Unknown Object (File)
Oct 31 2023, 1:12 AM
Unknown Object (File)
Jun 29 2023, 11:59 AM
Subscribers

Details

Summary

Consistently use the byteorder functions in the correct direction

Submitted by: Ján Sučan <sucanjan@gmail.com>
Sponsored by: Google, inc. (Google Summer of Code 2019)

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25792
Build 24364: arc lint + arc unit

Event Timeline

The description of this review isn't really correct. Since ntohs and htons have identical effects, you aren't making any change to the endianness of the sequence number on the wire. The change is more stylistic, really.

What should be the correct description?

Maybe something like "consistently use the byteorder functions in the correct direction"?

jansucan retitled this revision from ping6: Fix endianness of a sequence number in a packet to send to ping6: Consistently use the byteorder functions in the correct direction.Aug 13 2019, 7:23 AM
jansucan edited the summary of this revision. (Show Details)
This revision was not accepted when it landed; it landed in state Needs Review.Aug 13 2019, 4:22 PM
This revision was automatically updated to reflect the committed changes.