summaryrefslogtreecommitdiffstats
path: root/host/test/addr_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/test/addr_test.cpp')
-rw-r--r--host/test/addr_test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/test/addr_test.cpp b/host/test/addr_test.cpp
index 148aee015..0c8f63b0a 100644
--- a/host/test/addr_test.cpp
+++ b/host/test/addr_test.cpp
@@ -16,13 +16,14 @@
//
#include <boost/test/unit_test.hpp>
-#include <uhd/device_addr.hpp>
+#include <uhd/types/mac_addr.hpp>
+#include <iostream>
BOOST_AUTO_TEST_CASE(test_mac_addr){
std::cout << "Testing mac addr..." << std::endl;
const std::string mac_addr_str("00:01:23:45:67:89");
uhd::mac_addr_t mac_addr(mac_addr_str);
std::cout << "Input: " << mac_addr_str << std::endl;
- std::cout << "Output: " << mac_addr << std::endl;
+ std::cout << "Output: " << mac_addr.to_string() << std::endl;
BOOST_CHECK_EQUAL(mac_addr_str, mac_addr.to_string());
}