소스 검색

change back to IPv4 address

Darien Raymond 7 년 전
부모
커밋
356377ddde
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      transport/internet/websocket/ws_test.go

+ 1 - 1
transport/internet/websocket/ws_test.go

@@ -79,7 +79,7 @@ func TestDialWithRemoteAddr(t *testing.T) {
 			Path: "ws",
 		},
 	})
-	listen, err := ListenWS(lctx, net.LocalHostIPv6, 13148, func(conn internet.Connection) {
+	listen, err := ListenWS(lctx, net.LocalHostIP, 13148, func(conn internet.Connection) {
 		go func(c internet.Connection) {
 			defer c.Close()