mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-04 13:47:39 +03:00
Warn if fallback_resolvers is still in use
This commit is contained in:
parent
b39232e996
commit
33ed882efe
1 changed files with 1 additions and 0 deletions
|
@ -371,6 +371,7 @@ func ConfigLoad(proxy *Proxy, flags *ConfigFlags) error {
|
|||
proxy.xTransport.tlsCipherSuite = config.TLSCipherSuite
|
||||
proxy.xTransport.mainProto = proxy.mainProto
|
||||
if len(config.BootstrapResolvers) == 0 && len(config.BootstrapResolversLegacy) > 0 {
|
||||
dlog.Warnf("fallback_resolvers was renamed to bootstrap_resolvers - Please update your configuration")
|
||||
config.BootstrapResolvers = config.BootstrapResolversLegacy
|
||||
}
|
||||
if len(config.BootstrapResolvers) > 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue