Fix DnsHijack default value bug.

This commit is contained in:
CHIZI-0618 2022-01-21 18:11:21 +08:00 committed by GitHub
parent 8ae68552a6
commit c3cfa3d6cd
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{