Merge pull request #376

7424cfc net_node: Use DNS resolver singleton (warptangent)
This commit is contained in:
Riccardo Spagni 2015-08-15 10:55:35 +02:00
commit f7c27f81af
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -321,7 +321,7 @@ namespace nodetool
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");
boost::this_thread::interruption_point();
}