mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 13:24:09 -07:00
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
|
@ -28,7 +28,7 @@ func (mg *MulticastGroup) String() string {
|
|||
|
||||
// Less returns true if this MulticastGroup is less than another.
|
||||
func (mg *MulticastGroup) Less(mg2 *MulticastGroup) bool {
|
||||
return (mg.MAC < mg2.MAC || (mg.MAC == mg2.MAC && mg.ADI < mg2.ADI))
|
||||
return mg.MAC < mg2.MAC || (mg.MAC == mg2.MAC && mg.ADI < mg2.ADI)
|
||||
}
|
||||
|
||||
// key returns an array usable as a key for a map[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue