fix: doh ipv6 default

This commit is contained in:
rammiah 2024-08-03 16:25:19 +08:00
parent 020396f299
commit 23708737c9
No known key found for this signature in database
GPG key ID: FDDFFCCEC57EB400

View file

@ -95,7 +95,7 @@ func newDoHClient(urlString string, r *Resolver, preferH3 bool, params map[strin
TokenStore: newQUICTokenStore(),
},
httpVersions: httpVersions,
ipv6: resolver.DisableIPv6,
ipv6: !resolver.DisableIPv6,
}
if params["skip-cert-verify"] == "true" {