mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 12:42:27 +08:00
make tun config compatible with premium
This commit is contained in:
parent
0209efd423
commit
051c81518c
@ -102,7 +102,6 @@ type Tun struct {
|
||||
Stack string `yaml:"stack" json:"stack"`
|
||||
DnsHijack []string `yaml:"dns-hijack" json:"dns-hijack"`
|
||||
AutoRoute bool `yaml:"auto-route" json:"auto-route"`
|
||||
AutoDetectInterface bool `yaml:"auto-detect-interface" json:"auto-detect-interface"`
|
||||
}
|
||||
|
||||
// Script config
|
||||
@ -211,7 +210,6 @@ func UnmarshalRawConfig(buf []byte) (*RawConfig, error) {
|
||||
Stack: "gvisor",
|
||||
DnsHijack: []string{"192.18.0.2:53"},
|
||||
AutoRoute: true,
|
||||
AutoDetectInterface: true,
|
||||
},
|
||||
DNS: RawDNS{
|
||||
Enable: false,
|
||||
|
Loading…
Reference in New Issue
Block a user