Skip to content

Commit

Permalink
fix IPv4 ECN control message length on Linux (#4127)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Oct 25, 2023
1 parent 2b29074 commit 9f1e576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys_conn_helper_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const (
ipv4PKTINFO = unix.IP_PKTINFO
)

const ecnIPv4DataLen = 4
const ecnIPv4DataLen = 1

const batchSize = 8 // needs to smaller than MaxUint8 (otherwise the type of oobConn.readPos has to be changed)

Expand Down

0 comments on commit 9f1e576

Please sign in to comment.