summaryrefslogtreecommitdiffstats
path: root/include/ipmid/handler.hpp
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2019-03-13 08:54:12 -0700
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-03-15 21:45:10 +0000
commitd35dcd02df2f3561e8961c24540e20f8c0f548f1 (patch)
tree2ac7ef1164ece37e84f4b7d5638d498fd2ca1224 /include/ipmid/handler.hpp
parent5dcf41e994e6e568d056c973432a44ed5ffe66d0 (diff)
downloadphosphor-host-ipmid-d35dcd02df2f3561e8961c24540e20f8c0f548f1.tar.gz
phosphor-host-ipmid-d35dcd02df2f3561e8961c24540e20f8c0f548f1.zip
Use payload interface to unpack group/IANA from message
Directly calling unpack from the Request interface will attempt to unpack the whole message, resulting in a 0xC7 response if the whole message was not unpacked. Since at this point in the execution, the point is to only extract the group ID or the IANA, the lower-level Payload unpack interface must be used. This allows for partial unpacks and only returns error if there are not enough bytes to unpack. Change-Id: Ie18377597e925eff89c9b7c1a6d2258627d5f240 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Diffstat (limited to 'include/ipmid/handler.hpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud