Merge pull request #7 from CHIZI-0618/DnsHijack

Fix DnsHijack default value bug.
This commit is contained in:
Meta 2022-01-21 18:27:26 +08:00 committed by GitHub
commit bb68b59c9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,7 +208,7 @@ func UnmarshalRawConfig(buf []byte) (*RawConfig, error) {
Tun: Tun{ Tun: Tun{
Enable: false, Enable: false,
Stack: "gvisor", Stack: "gvisor",
DnsHijack: []string{"192.18.0.2:53"}, DnsHijack: []string{"198.18.0.2:53"},
AutoRoute: true, AutoRoute: true,
}, },
DNS: RawDNS{ DNS: RawDNS{