mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 02:27:38 -07:00
.
This commit is contained in:
parent
c3e0f262d1
commit
57ade250af
10 changed files with 25 additions and 23 deletions
|
@ -63,14 +63,14 @@ func Network(basePath, authToken string, args []string, jsonOutput bool) {
|
|||
fmt.Printf("\tmanaged addresses:\t")
|
||||
for i, a := range network.Config.AssignedAddresses {
|
||||
if i > 0 {
|
||||
fmt.Print(' ')
|
||||
fmt.Print(" ")
|
||||
}
|
||||
fmt.Print(a.String())
|
||||
}
|
||||
fmt.Printf("\n\tmanaged routes:\t")
|
||||
for i, r := range network.Config.Routes {
|
||||
if i > 0 {
|
||||
fmt.Print(' ')
|
||||
fmt.Print(" ")
|
||||
}
|
||||
fmt.Print(r.Target.String())
|
||||
if r.Via == nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue