1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-02 15:25:28 -05:00

move tcp.PickPort to its own package

This commit is contained in:
Darien Raymond
2018-03-01 11:53:39 +01:00
parent a7d467992d
commit af29e42771
14 changed files with 94 additions and 85 deletions

View File

@@ -28,7 +28,7 @@ func TestResolveIP(t *testing.T) {
assert(err, IsNil)
defer tcpServer.Close()
serverPort := pickPort()
serverPort := tcp.PickPort()
serverConfig := &core.Config{
App: []*serial.TypedMessage{
serial.ToTypedMessage(&dns.Config{