fix: don't set auto detect interface with tun name

This commit is contained in:
wwqgtxx
2022-10-07 16:54:08 +08:00
parent 8d74a86bf1
commit 1f8b54a92d
2 changed files with 25 additions and 18 deletions

View File

@ -373,8 +373,8 @@ func UnmarshalRawConfig(buf []byte) (*RawConfig, error) {
Device: "",
Stack: "gvisor",
DNSHijack: []string{"0.0.0.0:53"}, // default hijack all dns query
AutoRoute: false,
AutoDetectInterface: false,
AutoRoute: true,
AutoDetectInterface: true,
Inet6Address: []ListenPrefix{ListenPrefix(netip.MustParsePrefix("fdfe:dcba:9876::1/126"))},
},
EBpf: EBpf{