-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: Interfaces() does not return all interfaces on Windows #37652
Comments
I found the list of So, may |
net.Interfaces()
Sorry, but I don't have time even to investigate this. I don't think net.Interfaces is very useful on Windows. Alex |
What types of interfaces does Wireshark include that Go/ipconfig do not? |
@bradfitz The NIC2 which is used for Hyper-v vswitch.
|
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Y
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I am trying to use
net.Interfaces()
to get all interfaces on Windows, however, some interfaces can only display using Wireshark.What did you expect to see?
If Wireshark was able to display an interface on Windows, net.Interfaces() can also do the same.
What did you see instead?
Some interfaces can be seen using Wireshark on Windows, which cannot been seen by
net.Interfaces()
.The text was updated successfully, but these errors were encountered: