summaryrefslogtreecommitdiffstats
path: root/src/lib/asiodns/tests/io_fetch_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/asiodns/tests/io_fetch_unittest.cc')
-rw-r--r--src/lib/asiodns/tests/io_fetch_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/asiodns/tests/io_fetch_unittest.cc b/src/lib/asiodns/tests/io_fetch_unittest.cc
index 7db3dc66bc..a412fec94a 100644
--- a/src/lib/asiodns/tests/io_fetch_unittest.cc
+++ b/src/lib/asiodns/tests/io_fetch_unittest.cc
@@ -44,7 +44,7 @@ namespace ph = std::placeholders;
namespace isc {
namespace asiodns {
-const boost::asio::ip::address TEST_HOST(boost::asio::ip::address::from_string("127.0.0.1"));
+const boost::asio::ip::address TEST_HOST(boost::asio::ip::make_address("127.0.0.1"));
const uint16_t TEST_PORT(5301);
const int SEND_INTERVAL = 250; // Interval in ms between TCP sends
const size_t MAX_SIZE = 64 * 1024; // Should be able to take 64kB