Update gVisor to 20220905.0

This commit is contained in:
世界 2022-09-09 11:31:08 +08:00
parent 2f15b0cd3f
commit 575ac29417
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
7 changed files with 39 additions and 36 deletions

6
tun.go
View file

@ -47,10 +47,10 @@ type Options struct {
}
func CalculateInterfaceName(name string) (tunName string) {
if name != "" {
tunName = name
} else if runtime.GOOS == "darwin" {
if runtime.GOOS == "darwin" {
tunName = "utun"
} else if name != "" {
tunName = name
} else {
tunName = "tun"
}