mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
Merge pull request #376
7424cfc
net_node: Use DNS resolver singleton (warptangent)
This commit is contained in:
commit
f7c27f81af
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ namespace nodetool
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
addr_list = tools::DNSResolver().get_ipv4(addr_str, avail, valid);
|
addr_list = tools::DNSResolver::instance().get_ipv4(addr_str, avail, valid);
|
||||||
LOG_PRINT_L4("dns_threads[" << result_index << "] DNS resolve done");
|
LOG_PRINT_L4("dns_threads[" << result_index << "] DNS resolve done");
|
||||||
boost::this_thread::interruption_point();
|
boost::this_thread::interruption_point();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue