x/net/ipv4: SetTOS() not working on MacOS #37422
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I tried to create an IP packet with a custom TOS bits by using SetTOS() as below, but it didn't work on MacOS 10.14.6, even though it works on Linux (RHEL 7.4):
TCPdump output as below, TOS bits not changed but TTL changed to 30:
What did you expect to see?
TOS bits are supposed to be changed as IPv4 package provides
What did you see instead?
Unchanged TOS bits.
The text was updated successfully, but these errors were encountered: