mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 04:13:14 +08:00
revert:the name of tun device on mac
This commit is contained in:
parent
91e48b707b
commit
4b9edc3b66
@ -112,7 +112,7 @@ func New(tunConf *config.Tun, dnsConf *config.DNS, tcpIn chan<- C.ConnContext, u
|
|||||||
func generateDeviceName() string {
|
func generateDeviceName() string {
|
||||||
switch runtime.GOOS {
|
switch runtime.GOOS {
|
||||||
case "darwin":
|
case "darwin":
|
||||||
return tun.Driver + "://Meta"
|
return tun.Driver + "://utun"
|
||||||
case "windows":
|
case "windows":
|
||||||
return tun.Driver + "://Meta"
|
return tun.Driver + "://Meta"
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user