make tun config compatible with premium
This commit is contained in:
parent
13392ea6b4
commit
b1ce65f78c
1 changed files with 8 additions and 10 deletions
|
@ -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 a new issue