change to use non-deprecated dcmi group value
All new code should be using the constants from the
new API, rather than the old code. This is a minor change
to remove usage of the DCMI group value from all internal
phosphor-ipmi-host code.
Change-Id: Ib4b44bbb4a40945639eeb0f72e817f3dc716903b
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/ipmid-new.cpp b/ipmid-new.cpp
index 2a78c68..a656067 100644
--- a/ipmid-new.cpp
+++ b/ipmid-new.cpp
@@ -21,7 +21,6 @@
#include <boost/algorithm/string.hpp>
#include <boost/asio/io_context.hpp>
-#include <dcmihandler.hpp>
#include <host-cmd-manager.hpp>
#include <ipmid-host/cmd.hpp>
#include <ipmid/api.hpp>
@@ -712,8 +711,8 @@
// all the handlers were part of the DCMI group, so default to that.
if (netFn == NETFUN_GRPEXT)
{
- ipmi::impl::registerGroupHandler(ipmi::prioOpenBmcBase,
- dcmi::groupExtId, cmd, realPriv, h);
+ ipmi::impl::registerGroupHandler(ipmi::prioOpenBmcBase, ipmi::groupDCMI,
+ cmd, realPriv, h);
}
else
{