net: net.ParseIP always return ipv6 #65131
Labels
Documentation
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Go version
go version go1.21.3 windows/amd64
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
[0 0 0 0 0 0 0 0 0 0 255 255 127 0 0 1]
false
[192 168 0 111]
What did you expect to see?
[127 0 0 1]
false
[192 168 0 111]
The text was updated successfully, but these errors were encountered: