We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96a2be1 commit 7dee8d4Copy full SHA for 7dee8d4
mac.go
@@ -36,7 +36,7 @@ func ParseMAC(s string) (mac MAC, err error) {
36
}
37
macIndex--
38
39
- if macIndex != 0 {
+ if macIndex != -1 {
40
err = errInvalidMAC
41
42
return
0 commit comments