From f7f287acab5d4c16d9a31fad20b4a1fe0f6d2a86 Mon Sep 17 00:00:00 2001 From: Dan Esparza Date: Wed, 13 Sep 2017 10:29:55 -0400 Subject: [PATCH] Fix: Only use last portion of mac address --- cmd/start.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/start.go b/cmd/start.go index 24857e6..a2890d0 100644 --- a/cmd/start.go +++ b/cmd/start.go @@ -216,6 +216,7 @@ func getMacAddr() (addr string) { if i.Flags&net.FlagUp != 0 && bytes.Compare(i.HardwareAddr, nil) != 0 { // Don't use random as we have a real address addr = strings.Replace(i.HardwareAddr.String(), ":", "", -1) + addr = addr[6:len(addr)] break } }