summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.cpp b/util.cpp
index 28f064c..35a6ed7 100644
--- a/util.cpp
+++ b/util.cpp
@@ -178,7 +178,7 @@ std::string getNetworkID(int addressFamily, const std::string& ipaddress,
{
log<level::ERR>("inet_pton failure",
entry("IPADDRESS=%s", ipaddress.c_str()));
- report<InternalFailure>();
+ elog<InternalFailure>();
return "";
}
@@ -198,7 +198,7 @@ std::string getNetworkID(int addressFamily, const std::string& ipaddress,
INET6_ADDRSTRLEN) == NULL)
{
log<level::ERR>("inet_ntop failure");
- report<InternalFailure>();
+ elog<InternalFailure>();
}
return networkString;
}
OpenPOWER on IntegriCloud