Identify MAC address as invalid
The problem is with the Media Access Controller address not an
Internet Protocol address.
Probably introduced due to incomplete editing of a similar message.
Change-Id: If4648f73a3f33da8832078d8ce540570bdb449bd
Signed-off-by: Milton Miller <mdmii@outlook.com>
diff --git a/src/ethernet_interface.cpp b/src/ethernet_interface.cpp
index a666287..ae539b9 100644
--- a/src/ethernet_interface.cpp
+++ b/src/ethernet_interface.cpp
@@ -907,7 +907,7 @@
}
catch (const std::exception& e)
{
- lg2::error("Invalid Ip address {NET_MAC}: {ERROR}", "NET_MAC", value,
+ lg2::error("Invalid MAC address {NET_MAC}: {ERROR}", "NET_MAC", value,
"ERROR", e);
elog<InvalidArgument>(Argument::ARGUMENT_NAME("netmac"),
Argument::ARGUMENT_VALUE(value.c_str()));