Don't display physical FRU devices; FRU API only works for logical devices

This commit is contained in:
Jordan Hargrave 2006-07-24 17:12:32 +00:00
parent 7849cc978f
commit f63189780f

View File

@ -1295,7 +1295,7 @@ ipmi_fru_print_all(struct ipmi_intf * intf)
fru = (struct sdr_record_fru_locator *)
ipmi_sdr_get_record(intf, header, itr);
if (fru == NULL)
if (fru == NULL || !fru->logical)
continue;
rc = ipmi_fru_print(intf, fru);
free(fru);