communicator/ssh: fix build

This commit is contained in:
Mitchell Hashimoto 2014-02-21 14:51:33 -08:00
parent 9d55fa7f46
commit 8b99ad7a50
1 changed files with 2 additions and 0 deletions

View File

@ -18,5 +18,7 @@ func ConnectFunc(network, addr string) func() (net.Conn, error) {
if tcpConn, ok := c.(*net.TCPConn); ok {
tcpConn.SetKeepAlive(true)
}
return c, nil
}
}