client-interface-cleanup #6

Merged
johnnylee merged 14 commits from client-interface-cleanup into main 2025-09-17 08:00:13 +00:00
Showing only changes of commit 69dff24344 - Show all commits

View File

@ -125,9 +125,9 @@ func main_status() {
fmt.Printf("Network: %v\n\n", report.Network)
} else {
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 {
fmt.Printf("%3d %s\n", status.PeerIP, status.Name)