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>
diff --git a/transporthandler.cpp b/transporthandler.cpp
index fbd127f..61065ad 100644
--- a/transporthandler.cpp
+++ b/transporthandler.cpp
@@ -1181,7 +1181,7 @@
case LanParam::AuthEnables:
{
req.trailingOk = true;
- return response(ccParamNotSupported);
+ return response(ccParamReadOnly);
}
case LanParam::IP:
{