Add tun support for macOS

This commit is contained in:
世界 committed 2022-08-05 17:02:51 +08:00
1 parent f691bd5ce1
commit dfa10d4ebe
11 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ import (
var warnBindInterfaceOnUnsupportedPlatform = warning.New(
func() bool {
return !(C.IsLinux || C.IsWindows)
return !(C.IsLinux || C.IsWindows || C.IsDarwin)
},
"outbound option `bind_interface` is only supported on Linux and Windows",
)