aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.inl
diff options
context:
space:
mode:
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();
}