From e53c65fa18e64951a645b6cc5590842ffd1ac653 Mon Sep 17 00:00:00 2001 From: Hiddify Date: Fri, 2 Feb 2024 17:58:51 +0100 Subject: [PATCH] chg: activate tunnel service only in windows and linux --- config/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 883055b..ed228ae 100644 --- a/config/config.go +++ b/config/config.go @@ -119,7 +119,8 @@ func BuildConfig(configOpt ConfigOptions, input option.Options) (*option.Options } if configOpt.EnableTun { - if runtime.GOOS != "windows" && runtime.GOOS != "darwin" && runtime.GOOS != "linux" { + if runtime.GOOS != "windows" && runtime.GOOS != "linux" { + // && runtime.GOOS != "darwin" tunInbound := option.Inbound{ Type: C.TypeTun, Tag: "tun-in",