cli /list-serers print server status string

This commit is contained in:
Dan Ballard 2018-10-05 15:44:05 -07:00
parent be290d021d
commit e2b5e5db91
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ func main() {
case "/list-servers":
servers := peer.GetServers()
for s, st := range servers {
fmt.Printf("Name: %v Status: %v\n", s, st)
fmt.Printf("Name: %v Status: %v\n", s, connections.ConnectionStateName[st])
}
case "/list-contacts":
contacts := peer.GetContacts()