summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2019-04-08 01:58:10 -0700
committerWilliam A. Kennington III <wak@google.com>2019-04-09 02:07:06 -0700
commit4966e96e2e3b4d3719d5932fb50e923b39c6c23b (patch)
treec89c0efea0eb5d2f420b65e38a3aa20cedd05204 /test
parent01defcade1020f0f149043a722ef8dc440d95546 (diff)
downloadphosphor-networkd-4966e96e2e3b4d3719d5932fb50e923b39c6c23b.tar.gz
phosphor-networkd-4966e96e2e3b4d3719d5932fb50e923b39c6c23b.zip
util: Use standard ether functions for conversion
This should be slightly faster and is more standard for interop with other programs using the same conversion functions. Change-Id: I4d7a2cb4df2173afda421c5b41ee5e98e722d6c6 Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'test')
-rw-r--r--test/test_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_util.cpp b/test/test_util.cpp
index 4e39821..d2be390 100644
--- a/test/test_util.cpp
+++ b/test/test_util.cpp
@@ -177,7 +177,7 @@ TEST_F(TestUtil, MacValidation)
EXPECT_EQ(false, phosphor::network::mac_address::validate(macaddress));
macaddress = "F6:C6:E6:6:B0:D3";
- EXPECT_EQ(false, phosphor::network::mac_address::validate(macaddress));
+ EXPECT_EQ(true, phosphor::network::mac_address::validate(macaddress));
macaddress = "F6:C6:E6:06:B0:D3";
EXPECT_EQ(true, phosphor::network::mac_address::validate(macaddress));
OpenPOWER on IntegriCloud