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:
parent
08fde1bf55
commit
98e57c61d5
2
cmd.go
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user