mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
only search for 7 bits
This commit is contained in:
parent
b0ccfba549
commit
2e46c84218
@ -233,7 +233,7 @@ ipmi_event_fromfile(struct ipmi_intf * intf, char * file)
|
||||
rqdata[j] = (unsigned char)strtol(tok, NULL, 0);
|
||||
tok = strtok(NULL, " ");
|
||||
}
|
||||
if (i < sizeof(rqdata)) {
|
||||
if (i < 7) {
|
||||
printf("Invalid Event: %s\n",
|
||||
buf2str(rqdata, sizeof(rqdata)));
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user