소스 검색

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
Alex Brainman 12 년 전
부모
커밋
665213f561
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ssh/kex_test.go

+ 1 - 1
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
 	}