use ndn::ip::address(V6)FromString for scope-id aware conversion
Change-Id: Ifdc31771b8a990867c0a79ba42b71c87a97bcd56
Refs: #1428
diff --git a/tests/other/face-benchmark.cpp b/tests/other/face-benchmark.cpp
index 2734e31..3532bdb 100644
--- a/tests/other/face-benchmark.cpp
+++ b/tests/other/face-benchmark.cpp
@@ -29,6 +29,7 @@
#include "face/tcp-channel.hpp"
#include "face/udp-channel.hpp"
+#include <ndn-cxx/net/address-converter.hpp>
#include <fstream>
#include <iostream>
@@ -124,7 +125,7 @@
}
// create the right face
- auto addr = boost::asio::ip::address::from_string(uriR.getHost());
+ auto addr = ndn::ip::addressFromString(uriR.getHost());
auto port = boost::lexical_cast<uint16_t>(uriR.getPort());
if (uriR.getScheme() == "tcp4") {
m_tcpChannel.connect(tcp::Endpoint(addr, port),