aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-11-24 13:01:35 +0200
committerRiccardo Spagni <ric@spagni.net>2016-11-24 13:01:35 +0200
commitc36cb5434059ed53daf947b189343ac0bd8f31d8 (patch)
treebc2033d9617766983588fc435ea86b522170671d /src/wallet
parentMerge pull request #1371 (diff)
parentFix DNS failures in offline mode preventing daemon startup (diff)
downloadmonero-c36cb5434059ed53daf947b189343ac0bd8f31d8.tar.xz
Merge pull request #1372
17b6bd6 Fix DNS failures in offline mode preventing daemon startup (moneromooo-monero)
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/api/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/utils.cpp b/src/wallet/api/utils.cpp
index 1bf35197c..7de9d1927 100644
--- a/src/wallet/api/utils.cpp
+++ b/src/wallet/api/utils.cpp
@@ -61,7 +61,7 @@ bool isAddressLocal(const std::string &address)
// resolve to IP
boost::asio::io_service io_service;
boost::asio::ip::tcp::resolver resolver(io_service);
- boost::asio::ip::tcp::resolver::query query(u_c.host, "");
+ boost::asio::ip::tcp::resolver::query query(u_c.host, "", boost::asio::ip::tcp::resolver::query::canonical_name);
boost::asio::ip::tcp::resolver::iterator i = resolver.resolve(query);
while (i != boost::asio::ip::tcp::resolver::iterator())
{