Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net: golang 1.5 mac address on Windows has additional :00:00 #12691
I'd written a program in go 1.4 to retrieve mac addresses on windows and used to get the correct mac address.
Is there a reason for this (or is it simply an error on my side)?
Bjorn Graf in this thread reports: "on my Windows 10 Go 1.5,x (amd64 and 386) seems to find only the loopback pseudo-Interface with an all-00 mac while go1.4.2 lists the real interface."
Use Windows getmac command to verify interface MAC addresses net package returns. The test is to be enabled once issue #12691 is fixed. Updates #12691 Change-Id: Ic28c83303590cb4d48ee025250d4b6e30683bfd4 Reviewed-on: https://go-review.googlesource.com/17632 Reviewed-by: Mikio Hara <firstname.lastname@example.org> Run-TryBot: Alex Brainman <email@example.com> TryBot-Result: Gobot Gobot <firstname.lastname@example.org>