From 4b9edc3b665c2500acb51ba8298210327e35af9d Mon Sep 17 00:00:00 2001 From: Skyxim Date: Tue, 5 Apr 2022 23:04:59 +0800 Subject: [PATCH] =?UTF-8?q?revert=EF=BC=9Athe=20name=20of=20tun=20device?= =?UTF-8?q?=20on=20mac?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- listener/tun/tun_adapter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listener/tun/tun_adapter.go b/listener/tun/tun_adapter.go index ef538af3..e4d065dd 100644 --- a/listener/tun/tun_adapter.go +++ b/listener/tun/tun_adapter.go @@ -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: