fix IPv4 ECN control message length on Linux (#4127)

This commit is contained in:
Marten Seemann
2023-10-25 11:18:43 +07:00
committed by GitHub
parent 1c631cf9cb
commit 6239effc7a

View File

@@ -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)