net: Interface.MTU is an int, but on 32-bit windows the MTU size can be >2 GiB #48762
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
Milestone
What version of Go are you using (
go version
)?go version go1.17 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputIn net.Interface MTU int, but in windows 32 bit the mtu size is sometimes more than 2 gb on loopback and the MTU value is negative.
go/src/net/interface.go
Line 33 in 3bbc823
The text was updated successfully, but these errors were encountered: