Merge pull request #112 from mcroydon/refactor-socket

Updated listening message to use the actual host/port.
This commit is contained in:
Andrey Petrov 2015-01-05 17:59:11 -08:00
commit 03b8ad0344

2
cmd.go
View File

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