Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: Interface API for Go 1.5 through Go 1.5.2 is broken on Windows #13544

Closed
mikioh opened this issue Dec 9, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@mikioh
Copy link
Contributor

commented Dec 9, 2015

This is a meta bug for keeping tracking of the series of network interface API bugs.

  • Mishandling of IPv6
  • Returning incorrect list of network interfaces
  • Returning incorrect address prefixes
  • Returning incorrect hardware addresses
  • Returning incorrect interface flags

@mikioh mikioh added the OS-Windows label Dec 9, 2015

@mikioh mikioh changed the title net: Interface API for Go 1.5 through Go 1.5.2 are broken on Windows net: Interface API for Go 1.5 through Go 1.5.2 is broken on Windows Dec 9, 2015

@mikioh mikioh added this to the Go1.6 milestone Dec 9, 2015

@gopherbot

This comment has been minimized.

Copy link

commented Dec 9, 2015

CL https://golang.org/cl/17412 mentions this issue.

@mikioh mikioh closed this in e05b48e Dec 10, 2015

@gopherbot

This comment has been minimized.

Copy link

commented Dec 18, 2015

CL https://golang.org/cl/17992 mentions this issue.

mikioh pushed a commit that referenced this issue Dec 19, 2015

Mikio Hara
net: make use of IPv4 for parsing routing information on windows
In general the package net deals IPv4 addresses as IPv6 IPv4-mapped
addresses internally for the dual stack era, when we need to support
various techniques on IPv4/IPv6 translation.

This change makes windows implementation follow the same pattern which
BSD variants and Linux do.

Updates #13544.

Also fixes an unintentionally formatted line by accident by gofmt.

Change-Id: I4953796e751fd8050c73094468a0d7b0d33f5516
Reviewed-on: https://go-review.googlesource.com/17992
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>

@golang golang locked and limited conversation to collaborators Dec 29, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.