summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipmid-new.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ipmid-new.cpp b/ipmid-new.cpp
index 823b9d8..c32ba3f 100644
--- a/ipmid-new.cpp
+++ b/ipmid-new.cpp
@@ -750,8 +750,7 @@ void handleLegacyIpmiCommand(sdbusplus::message::message& m)
m.read(seq, netFn, lun, cmd, data);
std::shared_ptr<sdbusplus::asio::connection> bus = getSdBus();
auto ctx = std::make_shared<ipmi::Context>(
- bus, netFn, cmd, ipmi::channelSystemIface, 0,
- ipmi::Privilege::Admin, 0, &yield);
+ bus, netFn, cmd, 0, 0, ipmi::Privilege::Admin, 0, &yield);
auto request = std::make_shared<ipmi::message::Request>(
ctx, std::forward<std::vector<uint8_t>>(data));
ipmi::message::Response::ptr response =
OpenPOWER on IntegriCloud