1
0
mirror of https://github.com/shazow/ssh-chat.git synced 2025-04-22 19:50:33 +03:00

Updated listening message to use the actual host/port.

This commit is contained in:
Matt Croydon 2015-01-05 19:57:09 -06:00
parent 08fde1bf55
commit 98e57c61d5

2
cmd.go

@ -106,7 +106,7 @@ func main() {
}
defer s.Close()
fmt.Printf("Listening for connections on %v\n", options.Bind)
fmt.Printf("Listening for connections on %v\n", s.Addr().String())
host := NewHost(s)
host.auth = &auth