summaryrefslogtreecommitdiffstats
path: root/src/ipmiblob/blob_handler.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-05-31 17:07:25 -0700
committerPatrick Venture <venture@google.com>2019-05-31 17:08:36 -0700
commit958f1ce952849300ebfd30cc04ce86937d3bc718 (patch)
tree7c79a5d606502f8fd47f5252465426c428168f66 /src/ipmiblob/blob_handler.cpp
parentef5e09252dba451acda30e53e8f5b28f08eac0cb (diff)
downloadipmi-blob-tool-958f1ce952849300ebfd30cc04ce86937d3bc718.tar.gz
ipmi-blob-tool-958f1ce952849300ebfd30cc04ce86937d3bc718.zip
ipmi: pull the netfn and command into parameters
Pull the netfn and cmd into parameters instead of hard-coding them for blob commands. Tested: Only ran unit-tests. Change-Id: I1a73de32e14cc78ece94a26f6c447824af88c984 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'src/ipmiblob/blob_handler.cpp')
-rw-r--r--src/ipmiblob/blob_handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipmiblob/blob_handler.cpp b/src/ipmiblob/blob_handler.cpp
index 039b7e0..6adbe89 100644
--- a/src/ipmiblob/blob_handler.cpp
+++ b/src/ipmiblob/blob_handler.cpp
@@ -67,7 +67,7 @@ std::vector<std::uint8_t>
try
{
- reply = ipmi->sendPacket(request);
+ reply = ipmi->sendPacket(ipmiOEMNetFn, ipmiOEMBlobCmd, request);
}
catch (const IpmiException& e)
{
OpenPOWER on IntegriCloud