diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-08-15 10:55:35 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-08-15 10:59:00 +0200 |
commit | f7c27f81af6988167193b38d9a636bee86cbde60 (patch) | |
tree | 0343fad6533926afccdda668d14effdae6a07659 /src | |
parent | Merge pull request #375 (diff) | |
parent | net_node: Use DNS resolver singleton (diff) | |
download | monero-f7c27f81af6988167193b38d9a636bee86cbde60.tar.xz |
Merge pull request #376
7424cfc net_node: Use DNS resolver singleton (warptangent)
Diffstat (limited to 'src')
-rw-r--r-- | src/p2p/net_node.inl | 2 |
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(); } |