summaryrefslogtreecommitdiffstats
path: root/test/ext/vom_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/ext/vom_test.cpp')
-rw-r--r--test/ext/vom_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ext/vom_test.cpp b/test/ext/vom_test.cpp
index 6aacea9803b..7d7325413bd 100644
--- a/test/ext/vom_test.cpp
+++ b/test/ext/vom_test.cpp
@@ -1348,9 +1348,9 @@ BOOST_AUTO_TEST_CASE(test_igmp) {
const std::string Isaiah = "IsaiahBerlin";
rc_t rc = rc_t::OK;
- boost::asio::ip::address gaddr = boost::asio::ip::address::from_string("232.0.0.1");
- boost::asio::ip::address saddr1 = boost::asio::ip::address::from_string("192.168.0.20");
- boost::asio::ip::address saddr2 = boost::asio::ip::address::from_string("192.168.0.30");
+ boost::asio::ip::address_v4 gaddr = boost::asio::ip::address_v4::from_string("232.0.0.1");
+ boost::asio::ip::address_v4 saddr1 = boost::asio::ip::address_v4::from_string("192.168.0.20");
+ boost::asio::ip::address_v4 saddr2 = boost::asio::ip::address_v4::from_string("192.168.0.30");
std::string itf3_name = "host3";
interface itf3(itf3_name,