mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Added missing fix for sensors that use event data 2 when using command ipmitool sdr elist
This commit is contained in:
parent
799a0846c2
commit
2a180f8038
@ -1613,7 +1613,8 @@ ipmi_sdr_print_discrete_state_mini(const char *separator,
|
||||
}
|
||||
|
||||
for (; evt->type != NULL; evt++) {
|
||||
if (evt->code != typ)
|
||||
if ((evt->code != typ) ||
|
||||
(evt->data != 0xFF))
|
||||
continue;
|
||||
|
||||
if (evt->offset > 7) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user