revert:the name of tun device on mac
This commit is contained in:
parent
91e48b707b
commit
4b9edc3b66
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue