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

This commit is contained in:
Marten Seemann
2023-10-25 11:18:43 +07:00
parent 2b290742f6
commit 9f1e5762da

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)