Explorar o código

change back to IPv4 address

Darien Raymond %!s(int64=7) %!d(string=hai) anos
pai
achega
356377ddde
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()