Skip to content

Commit

Permalink
fix IPv4 ECN control message length on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Oct 24, 2023
1 parent 7884f87 commit 6dbe30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys_conn_helper_linux.go
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 6dbe30a

Please sign in to comment.