mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
fixed oem/iana data type to allow 24 bits definition
This commit is contained in:
parent
0dfd0d494a
commit
cf3dd06818
@ -57,7 +57,7 @@ struct valstr {
|
|||||||
const char * str;
|
const char * str;
|
||||||
};
|
};
|
||||||
struct oemvalstr {
|
struct oemvalstr {
|
||||||
uint16_t oem;
|
uint32_t oem;
|
||||||
uint16_t val;
|
uint16_t val;
|
||||||
const char * str;
|
const char * str;
|
||||||
};
|
};
|
||||||
|
@ -130,7 +130,7 @@ const char * oemval2str(uint32_t oem, uint16_t val,
|
|||||||
static char un_str[32];
|
static char un_str[32];
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; vs[i].oem != 0x00 && vs[i].str != NULL; i++) {
|
for (i = 0; vs[i].oem != 0xffffff && vs[i].str != NULL; i++) {
|
||||||
/* FIXME: for now on we assume PICMG capability on all IANAs */
|
/* FIXME: for now on we assume PICMG capability on all IANAs */
|
||||||
if
|
if
|
||||||
(
|
(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user