revert:the name of tun device on mac

This commit is contained in:
Skyxim
2022-04-05 23:04:59 +08:00
committed by GitHub
parent 91e48b707b
commit 4b9edc3b66

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: