diff options
author | Alexander Amelkin <alexander@amelkin.msk.ru> | 2021-04-07 00:03:38 +0300 |
---|---|---|
committer | Alexander Amelkin <mocbuhtig@amelkin.msk.ru> | 2021-04-27 08:36:58 +0300 |
commit | 59b7d6cf8fc0ae666a0ccaf3650d6557361b7145 (patch) | |
tree | 85a50df918ae59f2941682fb6c6c5e12baeb039a | |
parent | 6b1ce6c1ac34c567d594b24f03ddb43911284f1a (diff) | |
download | ipmitool-59b7d6cf8fc0ae666a0ccaf3650d6557361b7145.tar.gz |
sel: Fix "power supply inactive" flag offset
There was a wrong offset for the "Power Supply Inactive" flag,
hence the trigger on this event type could not be set.
Resolves ipmitool/ipmitool#280
Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
-rw-r--r-- | include/ipmitool/ipmi_sel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ipmitool/ipmi_sel.h b/include/ipmitool/ipmi_sel.h index 06ca507..8a5354f 100644 --- a/include/ipmitool/ipmi_sel.h +++ b/include/ipmitool/ipmi_sel.h @@ -256,7 +256,7 @@ static const struct ipmi_event_sensor_types sensor_specific_event_types[] = { { 0x08, 0x06, 0x03, "Config Error: Power Supply Rating Mismatch" }, { 0x08, 0x06, 0x04, "Config Error: Voltage Rating Mismatch" }, { 0x08, 0x06, 0xff, "Config Error" }, - { 0x08, 0x06, 0xff, "Power Supply Inactive" }, + { 0x08, 0x07, 0xff, "Power Supply Inactive" }, /* Power Unit */ { 0x09, 0x00, 0xff, "Power off/down" }, { 0x09, 0x01, 0xff, "Power cycle" }, |