You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A main network interface on Windows, like "Ethernet 3" can have many addresses and the interesting IPv4 address isn't one of the first two when iterating in Go via net.Interfaces() + iface.Addrs().
So iterate over all addresses as long as either the IPv4 or IPv6 address is empty.
The text was updated successfully, but these errors were encountered:
A main network interface on Windows, like "Ethernet 3" can have many addresses and the interesting IPv4 address isn't one of the first two when iterating in Go via
net.Interfaces()
+iface.Addrs()
.So iterate over all addresses as long as either the IPv4 or IPv6 address is empty.
The text was updated successfully, but these errors were encountered: