1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-29 13:35:20 -05:00

dice.RandomUint16

This commit is contained in:
Darien Raymond
2017-02-14 22:29:44 +01:00
parent 3c032f0d53
commit 48eb40ff39
7 changed files with 13 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ import (
func TestV2RayClose(t *testing.T) {
assert := assert.On(t)
port := v2net.Port(dice.Roll(65535))
port := v2net.Port(dice.RandomUint16())
config := &Config{
Inbound: []*proxyman.InboundHandlerConfig{
{