mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID: 46 - SEL OEM record corner case
According to 31.6.1 SEL Record Type Ranges, IPMIv2.0 specification, timestamped OEM SEL records are in interval of <C0h,DFh> and not <C0h,DFh).
This commit is contained in:
parent
be7917f9f5
commit
8f7837364b
@ -1778,7 +1778,7 @@ ipmi_sel_print_std_entry(struct ipmi_intf * intf, struct sel_event_record * evt)
|
||||
else
|
||||
printf(" | ");
|
||||
|
||||
if(evt->record_type < 0xdf)
|
||||
if(evt->record_type <= 0xdf)
|
||||
{
|
||||
printf ("%02x%02x%02x", evt->sel_type.oem_ts_type.manf_id[0], evt->sel_type.oem_ts_type.manf_id[1], evt->sel_type.oem_ts_type.manf_id[2]);
|
||||
if (csv_output)
|
||||
@ -1979,7 +1979,7 @@ ipmi_sel_print_std_entry_verbose(struct ipmi_intf * intf, struct sel_event_recor
|
||||
|
||||
if (evt->record_type >= 0xc0)
|
||||
{
|
||||
if(evt->record_type < 0xdf)
|
||||
if(evt->record_type <= 0xdf)
|
||||
{
|
||||
printf (" Manufactacturer ID : %02x%02x%02x\n", evt->sel_type.oem_ts_type.manf_id[0],
|
||||
evt->sel_type.oem_ts_type.manf_id[1], evt->sel_type.oem_ts_type.manf_id[2]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user