mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 21:33:57 -07:00
.
This commit is contained in:
parent
c3e0f262d1
commit
57ade250af
10 changed files with 25 additions and 23 deletions
|
@ -41,13 +41,13 @@ func Roots(basePath, authToken string, args []string, jsonOutput bool) {
|
|||
fmt.Printf("%32s %.10x ", rn, uint64(r.Locator.Identity.Address()))
|
||||
for i, a := range r.Locator.Physical {
|
||||
if i > 0 {
|
||||
fmt.Print(',')
|
||||
fmt.Print(",")
|
||||
}
|
||||
fmt.Print(a.String())
|
||||
}
|
||||
for i, a := range r.Locator.Virtual {
|
||||
if i > 0 || len(r.Locator.Physical) > 0 {
|
||||
fmt.Print(',')
|
||||
fmt.Print(",")
|
||||
}
|
||||
fmt.Print(a.String())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue