This commit is contained in:
Adam Ierymenko 2019-10-02 12:19:37 -07:00
commit 57ade250af
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
10 changed files with 25 additions and 23 deletions

View file

@ -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())
}