Bunch of small warnings and stylistic things...
This commit is contained in:
parent
f680924585
commit
e4799ff8c4
21 changed files with 228 additions and 119 deletions
|
@ -36,7 +36,7 @@ func NewMACFromString(s string) (MAC, error) {
|
|||
if c > 0xff {
|
||||
return MAC(0), ErrInvalidMACAddress
|
||||
}
|
||||
m |= (c & 0xff)
|
||||
m |= c & 0xff
|
||||
}
|
||||
return MAC(m), nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue