mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-05 22:27:37 +03:00
Revert "Error out if the dns64 plugin is enabled without listening sockets"
This reverts commit b02649f774
.
This commit is contained in:
parent
4eab88c017
commit
8411e5a91b
1 changed files with 0 additions and 3 deletions
|
@ -585,9 +585,6 @@ func ConfigLoad(proxy *Proxy, flags *ConfigFlags) error {
|
||||||
|
|
||||||
proxy.serversBlockingFragments = config.BrokenImplementations.FragmentsBlocked
|
proxy.serversBlockingFragments = config.BrokenImplementations.FragmentsBlocked
|
||||||
|
|
||||||
if (len(config.DNS64.Prefixes) != 0 || len(config.DNS64.Resolvers) != 0) && len(config.ListenAddresses) == 0 {
|
|
||||||
dlog.Fatal("`listenAddresses` cannot be empty in order to use DNS64 translation")
|
|
||||||
}
|
|
||||||
proxy.dns64Prefixes = config.DNS64.Prefixes
|
proxy.dns64Prefixes = config.DNS64.Prefixes
|
||||||
proxy.dns64Resolvers = config.DNS64.Resolvers
|
proxy.dns64Resolvers = config.DNS64.Resolvers
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue