summaryrefslogtreecommitdiffstats
path: root/test/ext/vom_test.cpp
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2018-12-18 12:23:13 +0100
committerDamjan Marion <dmarion@me.com>2018-12-18 13:30:40 +0000
commit003d5da298b2cd1e20400fb5fdcefce752ca616e (patch)
treef348793bd749e504b80b483191e95168c9df44bd /test/ext/vom_test.cpp
parent91bfa6e2666c56f79cc97407c929d188cb34e90f (diff)
VAPI/VOM: Removing legacy stats tests, add string type.
Fix misc VAPI/VOM generation and test cases. Change-Id: I1abf9ecdb6f8a2129f11e0a9ed1c0fe04cdf5c47 Signed-off-by: Ole Troan <ot@cisco.com>
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,