From 665213f561b1d86f94956515da4886141e45eb9b Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Thu, 29 Aug 2013 12:57:42 +1000 Subject: [PATCH] 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 --- ssh/kex_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh/kex_test.go b/ssh/kex_test.go index 787144b..104009e 100644 --- a/ssh/kex_test.go +++ b/ssh/kex_test.go @@ -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 }