revert:the name of tun device on mac

This commit is contained in:
gVisor bot 2022-04-05 23:04:59 +08:00
parent e9a5be05a4
commit a4bff632bc

View File

@ -112,7 +112,7 @@ func New(tunConf *config.Tun, dnsConf *config.DNS, tcpIn chan<- C.ConnContext, u
func generateDeviceName() string {
switch runtime.GOOS {
case "darwin":
return tun.Driver + "://Meta"
return tun.Driver + "://utun"
case "windows":
return tun.Driver + "://Meta"
default: