diff options
author | Vernon Mauery <vernon.mauery@linux.intel.com> | 2019-03-13 08:54:12 -0700 |
---|---|---|
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | 2019-03-15 21:45:10 +0000 |
commit | d35dcd02df2f3561e8961c24540e20f8c0f548f1 (patch) | |
tree | 2ac7ef1164ece37e84f4b7d5638d498fd2ca1224 /include/ipmid/message/unpack.hpp | |
parent | 5dcf41e994e6e568d056c973432a44ed5ffe66d0 (diff) | |
download | phosphor-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/message/unpack.hpp')
0 files changed, 0 insertions, 0 deletions