From 5e2f1c414615fa29d34c47a64a25c10f91cb0ee4 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 2 Jul 2020 13:45:19 +0200 Subject: [PATCH] Clarify that skipAnonIncompatbibleResolvers does what it says --- dnscrypt-proxy/serversInfo.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dnscrypt-proxy/serversInfo.go b/dnscrypt-proxy/serversInfo.go index 57f06ccf..64f39cbb 100644 --- a/dnscrypt-proxy/serversInfo.go +++ b/dnscrypt-proxy/serversInfo.go @@ -337,11 +337,12 @@ func fetchDNSCryptServerInfo(proxy *Proxy, name string, stamp stamps.ServerStamp knownBugs.fragmentsBlocked = true } if knownBugs.fragmentsBlocked && (relayUDPAddr != nil || relayTCPAddr != nil) { - dlog.Warnf("[%v] is incompatible with anonymization", name) relayTCPAddr, relayUDPAddr = nil, nil if proxy.skipAnonIncompatbibleResolvers { + dlog.Infof("[%v] is incompatible with anonymization, it will be ignored", name) return ServerInfo{}, errors.New("Resolver is incompatible with anonymization") } + dlog.Warnf("[%v] is incompatible with anonymization", name) } if err != nil { return ServerInfo{}, err