summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ethernet_interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethernet_interface.cpp b/ethernet_interface.cpp
index af8efc9..04f9009 100644
--- a/ethernet_interface.cpp
+++ b/ethernet_interface.cpp
@@ -719,7 +719,7 @@ std::string EthernetInterface::mACAddress(std::string value)
{
log<level::ERR>("Exception occurred during getting of MAC "
"address from Inventory");
- return MacAddressIntf::mACAddress();
+ elog<InternalFailure>();
}
}
auto interface = interfaceName();
OpenPOWER on IntegriCloud