31 lines
997 B
Diff
31 lines
997 B
Diff
|
|
From 7305120634cef58af46e98b81418a38a753ffaf5 Mon Sep 17 00:00:00 2001
|
||
|
|
From: hliangs90 <hliangs90@gmail.com>
|
||
|
|
Date: Sat, 24 Aug 2024 02:57:40 +0800
|
||
|
|
Subject: [PATCH] Remove INAN Header In IPMI Response For OEM Command Support
|
||
|
|
|
||
|
|
Signed-off-by: hliangs90 <hliangs90@gmail.com>
|
||
|
|
---
|
||
|
|
ipmid-new.cpp | 6 +++---
|
||
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/ipmid-new.cpp b/ipmid-new.cpp
|
||
|
|
index 8f5cd32..baa6a19 100644
|
||
|
|
--- a/ipmid-new.cpp
|
||
|
|
+++ b/ipmid-new.cpp
|
||
|
|
@@ -305,9 +305,9 @@ message::Response::ptr executeIpmiOemCommand(message::Request::ptr request)
|
||
|
|
auto iana = static_cast<Iana>(bytes);
|
||
|
|
message::Response::ptr response = executeIpmiCommandCommon(oemHandlerMap,
|
||
|
|
iana, request);
|
||
|
|
- ipmi::message::Payload prefix;
|
||
|
|
- prefix.pack(bytes);
|
||
|
|
- response->prepend(prefix);
|
||
|
|
+ // ipmi::message::Payload prefix;
|
||
|
|
+ // prefix.pack(bytes);
|
||
|
|
+ // response->prepend(prefix);
|
||
|
|
return response;
|
||
|
|
}
|
||
|
|
|
||
|
|
--
|
||
|
|
2.25.1
|
||
|
|
|