types: Migrate to stdplus EtherAddr
Change-Id: I1ec2cd0b57a9f02fe96bbe9a068d1a437805b43a
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/test_ethernet_interface.cpp b/test/test_ethernet_interface.cpp
index f6c59b1..0596980 100644
--- a/test/test_ethernet_interface.cpp
+++ b/test/test_ethernet_interface.cpp
@@ -71,7 +71,7 @@
EXPECT_EQ("", interface.macAddress());
EXPECT_FALSE(interface.linkUp());
- constexpr ether_addr mac{0x11, 0x22, 0x33, 0x44, 0x55, 0x66};
+ constexpr stdplus::EtherAddr mac{0x11, 0x22, 0x33, 0x44, 0x55, 0x66};
constexpr unsigned mtu = 150;
AllIntfInfo info{InterfaceInfo{.type = ARPHRD_ETHER,
@@ -84,7 +84,7 @@
"/xyz/openbmc_test/network"sv, config::Parser());
EXPECT_EQ(mtu, intf.mtu());
- EXPECT_EQ(std::to_string(mac), intf.macAddress());
+ EXPECT_EQ(stdplus::toStr(mac), intf.macAddress());
EXPECT_TRUE(intf.linkUp());
}