Fix create gVisor endpoint

This commit is contained in:
世界
2022-07-10 19:17:44 +08:00
parent b417bd5be4
commit 0ef2e330e3
3 changed files with 11 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ import (
"context"
"net"
"testing"
"time"
"github.com/sagernet/sing-box"
"github.com/sagernet/sing-box/option"
@@ -13,7 +14,6 @@ import (
"github.com/sagernet/sing/protocol/socks"
"github.com/stretchr/testify/require"
"time"
)
func mkPort(t *testing.T) uint16 {