fixes IsMacLocallyAdministered check

This commit is contained in:
Holger Cremer
2019-11-29 22:37:29 +01:00
parent 2f7f2df786
commit 06f8a14444

View File

@@ -9,6 +9,6 @@ func IsMacLocallyAdministered(mac string) bool {
const mask = 1 << 1
first2chars := mac[:2]
decimal, _ := strconv.ParseInt(first2chars, 16, 8)
decimal, _ := strconv.ParseInt(first2chars, 16, 64)
return (decimal & mask) == mask
}