This commit is contained in:
jdl 2025-09-15 15:08:28 +02:00
parent 257fac67ce
commit 69dff24344

View File

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