diff options
author | Tom Joseph <tomjoseph@in.ibm.com> | 2019-08-20 18:35:14 +0530 |
---|---|---|
committer | Tom Joseph <tomjoseph@in.ibm.com> | 2019-08-20 18:36:50 +0530 |
commit | 99adf2b5041519907ef417937dc09df3221dc691 (patch) | |
tree | 6b534834514ac8fa60aa86d199a7302423ecc9db | |
parent | 152e98cd339f3df58d5832af5779eff541f0adc5 (diff) | |
download | phosphor-host-ipmid-99adf2b5041519907ef417937dc09df3221dc691.tar.gz phosphor-host-ipmid-99adf2b5041519907ef417937dc09df3221dc691.zip |
Revert "Add system interface as the channel for the legacy interface"
This reverts commit 152e98cd339f3df58d5832af5779eff541f0adc5.
Change-Id: Ib36cdbb2d140de749335a3ae9cbb279563c33a1c
-rw-r--r-- | ipmid-new.cpp | 3 |
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 = |