mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
increase timeout and limit retries to 1 for raw commands
This commit is contained in:
parent
1e0164c253
commit
141721d220
@ -235,7 +235,10 @@ ipmi_raw_main(struct ipmi_intf * intf, int argc, char ** argv)
|
||||
return -1;
|
||||
}
|
||||
|
||||
lun = intf->target_lun;
|
||||
ipmi_intf_session_set_timeout(intf, 15);
|
||||
ipmi_intf_session_set_retry(intf, 1);
|
||||
|
||||
lun = intf->target_lun;
|
||||
netfn = str2val(argv[0], ipmi_netfn_vals);
|
||||
if (netfn == 0xff) {
|
||||
netfn = (uint8_t)strtol(argv[0], NULL, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user