communicator/ssh: fix build
This commit is contained in:
parent
9d55fa7f46
commit
8b99ad7a50
|
@ -18,5 +18,7 @@ func ConnectFunc(network, addr string) func() (net.Conn, error) {
|
||||||
if tcpConn, ok := c.(*net.TCPConn); ok {
|
if tcpConn, ok := c.(*net.TCPConn); ok {
|
||||||
tcpConn.SetKeepAlive(true)
|
tcpConn.SetKeepAlive(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return c, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue