mirror of
https://github.com/monero-project/monero.git
synced 2025-07-23 02:40:40 -04:00
common: make this build with unbound 1.4.20
Common on currently used distros
This commit is contained in:
parent
8361d60aef
commit
a9cc88ee76
2 changed files with 5 additions and 2 deletions
|
@ -230,7 +230,7 @@ DNSResolver::DNSResolver() : m_data(new DNSResolverData())
|
|||
if (use_dns_public)
|
||||
{
|
||||
for (const auto &ip: dns_public_addr)
|
||||
ub_ctx_set_fwd(m_data->m_ub_context, ip.c_str());
|
||||
ub_ctx_set_fwd(m_data->m_ub_context, string_copy(ip.c_str()));
|
||||
ub_ctx_set_option(m_data->m_ub_context, string_copy("do-udp:"), string_copy("no"));
|
||||
ub_ctx_set_option(m_data->m_ub_context, string_copy("do-tcp:"), string_copy("yes"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue