Fix: modify local ip to pass all test (#2595)

This commit is contained in:
Dave Yu 2023-03-09 10:44:36 +08:00 committed by GitHub
parent 71f8f0667f
commit 4ffc999617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -654,7 +654,7 @@ log-level: silent
require.NoError(t, err)
defer cleanup()
require.True(t, TCPing(net.JoinHostPort(localIP.String(), "10000")))
require.True(t, TCPing(net.JoinHostPort("127.0.0.1", "10000")))
testPingPongWithSocksPort(t, 10000)
}