diff options
Diffstat (limited to 'ipmid.cpp')
-rw-r--r-- | ipmid.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,7 @@ #include <host-cmd-manager.hpp> #include <host-ipmid/ipmid-host-cmd.hpp> #include <timer.hpp> +#include "host-ipmid/oemrouter.hpp" using namespace phosphor::logging; namespace sdbusRule = sdbusplus::bus::match::rules; @@ -616,6 +617,9 @@ int main(int argc, char *argv[]) cmdManager = std::make_unique<phosphor::host::command::Manager>( *sdbusp, events); + // Activate OemRouter. + oem::mutableRouter()->activate(); + // Register all the handlers that provider implementation to IPMI commands. ipmi_register_callback_handlers(HOST_IPMI_LIB_PATH); |