1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

change back to IPv4 address

This commit is contained in:
Darien Raymond 2018-09-10 13:58:14 +02:00
parent 6d750e8149
commit 356377ddde
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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()