summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnathan Mantey <johnathanx.mantey@intel.com>2019-11-14 14:41:46 -0800
committerTom Joseph <tomjoseph@in.ibm.com>2019-11-27 10:24:50 +0000
commit76ce9c784829b886d702572388ccf2cf4270e93e (patch)
tree34c4456f96db8d7d280f2869c83d398eb24ac53d
parent62c05dd8d398eb7a2b5384120fae0a6aae85c9bd (diff)
downloadphosphor-host-ipmid-76ce9c784829b886d702572388ccf2cf4270e93e.tar.gz
phosphor-host-ipmid-76ce9c784829b886d702572388ccf2cf4270e93e.zip
Change Set LAN Config Auth Type Enables to return a Read Only response
The Set LAN Configuration Auth Type Enables is not supported by OpenBMC because RMCP is deprecated. The Get command always returns zeros. The Set command cannot change the BMC state. As such this is considered a ReadOnly register set. Tested: ipmitool raw 0xc 1 1 2 0 0 0 0 0 # returns 0x82 error code Change-Id: I5cdc45270d0095538449c8d8b358fd3c31906599 Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
-rw-r--r--transporthandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/transporthandler.cpp b/transporthandler.cpp
index fbd127f..61065ad 100644
--- a/transporthandler.cpp
+++ b/transporthandler.cpp
@@ -1181,7 +1181,7 @@ RspType<> setLan(uint4_t channelBits, uint4_t, uint8_t parameter,
case LanParam::AuthEnables:
{
req.trailingOk = true;
- return response(ccParamNotSupported);
+ return response(ccParamReadOnly);
}
case LanParam::IP:
{
OpenPOWER on IntegriCloud