mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 13:24:09 -07:00
Regularize JSON stuff
This commit is contained in:
parent
b9911d0db7
commit
c3e0f262d1
13 changed files with 164 additions and 114 deletions
|
@ -17,8 +17,8 @@ import "fmt"
|
|||
|
||||
// MulticastGroup represents a normal Ethernet multicast or broadcast address plus 32 additional ZeroTier-specific bits
|
||||
type MulticastGroup struct {
|
||||
MAC MAC
|
||||
ADI uint32
|
||||
MAC MAC `json:"mac"`
|
||||
ADI uint32 `json:"adi"`
|
||||
}
|
||||
|
||||
// String returns MAC#ADI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue