summaryrefslogtreecommitdiffstats
path: root/host-interface.hpp
diff options
context:
space:
mode:
authorYong Li <yong.b.li@linux.intel.com>2019-10-29 13:37:17 +0800
committerYong Li <yong.b.li@intel.com>2019-11-07 02:18:59 +0000
commita249a0821fc38580249ecfd38bd05d8fb6a7b95d (patch)
tree22dbd6fb7cdd2efa9220f3bdc18892cd762606d2 /host-interface.hpp
parent5833cb6ee09bd911e02b36675932c3f97c533048 (diff)
downloadphosphor-host-ipmid-a249a0821fc38580249ecfd38bd05d8fb6a7b95d.tar.gz
phosphor-host-ipmid-a249a0821fc38580249ecfd38bd05d8fb6a7b95d.zip
Limit the set bmc global command to system interface only
Only accept command from system interface, to align with the IPMI spec. Tested: In UEFI the comand works: cmdtool.efi 20 18 2e 9 00 The command will fail if execute through network: ipmitool -H $BMCIP -Uroot -P 0penBmc -I lanplus raw 6 0x2e 9 Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x2e rsp=0xd5): Command not supported in present state Signed-off-by: Yong Li <yong.b.li@linux.intel.com> Change-Id: I4e65cdf88fbc9364532ae04da3a7219f432dee6b
Diffstat (limited to 'host-interface.hpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud