aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.inl
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-08-15 10:55:35 +0200
committerRiccardo Spagni <ric@spagni.net>2015-08-15 10:59:00 +0200
commitf7c27f81af6988167193b38d9a636bee86cbde60 (patch)
tree0343fad6533926afccdda668d14effdae6a07659 /src/p2p/net_node.inl
parentMerge pull request #375 (diff)
parentnet_node: Use DNS resolver singleton (diff)
downloadmonero-f7c27f81af6988167193b38d9a636bee86cbde60.tar.xz
Merge pull request #376
7424cfc net_node: Use DNS resolver singleton (warptangent)
Diffstat (limited to 'src/p2p/net_node.inl')
-rw-r--r--src/p2p/net_node.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index 7360adc3c..0561ac584 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -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();
}