diff options
| author | William A. Kennington III <wak@google.com> | 2019-04-08 01:58:10 -0700 |
|---|---|---|
| committer | William A. Kennington III <wak@google.com> | 2019-04-09 02:07:06 -0700 |
| commit | 4966e96e2e3b4d3719d5932fb50e923b39c6c23b (patch) | |
| tree | c89c0efea0eb5d2f420b65e38a3aa20cedd05204 /test | |
| parent | 01defcade1020f0f149043a722ef8dc440d95546 (diff) | |
| download | phosphor-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.cpp | 2 |
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)); |

