go.crypto/ssh: use 127.0.0.1 during TestKexAlgorithms (fixes windows build)

R=golang-dev, mikioh.mikioh, remyoudompheng
CC=golang-dev
https://golang.org/cl/13370043
This commit is contained in:
Alex Brainman
2013-08-29 12:57:42 +10:00
parent a1beccb9f0
commit 665213f561
+1 -1
View File
@@ -13,7 +13,7 @@ import (
)
func pipe() (net.Conn, net.Conn, error) {
l, err := net.Listen("tcp", ":0")
l, err := net.Listen("tcp", "127.0.0.1:0")
if err != nil {
return nil, nil, err
}