Return recordID for IpmiSelAdd method
The IPMI spec section 31.6 states that recordID field is passed in
Add SEL Entry request and its value will be overwritten with a
Record ID value that the SEL Device generates.
Return recordID for IpmiSelAdd method to follow IPMI standard.
Change-Id: Ib3fd381368bd9af7aa942e7dd51b0886f956504f
Signed-off-by: Vincent Chou <vincent.chou@fii-na.com>
diff --git a/include/sel_logger.hpp b/include/sel_logger.hpp
index 1c9bc47..15d53fc 100644
--- a/include/sel_logger.hpp
+++ b/include/sel_logger.hpp
@@ -38,7 +38,7 @@
static const std::string selLogFilename = "ipmi_sel";
template <typename... T>
-static void
+static uint16_t
selAddSystemRecord(std::shared_ptr<sdbusplus::asio::connection> conn,
const std::string& message, const std::string& path,
const std::vector<uint8_t>& selData, const bool& assert,