Cleanup.
This commit is contained in:
parent
257fac67ce
commit
69dff24344
@ -125,9 +125,9 @@ func main_status() {
|
|||||||
fmt.Printf("Network: %v\n\n", report.Network)
|
fmt.Printf("Network: %v\n\n", report.Network)
|
||||||
} else {
|
} else {
|
||||||
nw := report.Network
|
nw := report.Network
|
||||||
fmt.Printf("Network: %d.%d.%d.%d/24\n\n", nw[0], nw[1], nw[2], nw[3])
|
fmt.Printf("%-8s %d.%d.%d.%d/24\n", "Network", nw[0], nw[1], nw[2], nw[3])
|
||||||
}
|
}
|
||||||
fmt.Printf("Relay: %d\n", report.RelayPeerIP)
|
fmt.Printf("%-8s %d\n\n", "Relay", report.RelayPeerIP)
|
||||||
|
|
||||||
for _, status := range report.Remotes {
|
for _, status := range report.Remotes {
|
||||||
fmt.Printf("%3d %s\n", status.PeerIP, status.Name)
|
fmt.Printf("%3d %s\n", status.PeerIP, status.Name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user