mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
- Fix improper addressing for lan/lanplus
This commit is contained in:
parent
80b8d3b318
commit
07c3456330
@ -444,6 +444,9 @@ ipmi_sdr_get_sensor_reading_ipmb(struct ipmi_intf *intf, uint8_t sensor,
|
||||
struct ipmi_rs *rsp;
|
||||
uint8_t save_addr;
|
||||
|
||||
if (strcpy(intf->name, "ipmb"))
|
||||
return ipmi_sdr_get_sensor_reading(intf, sensor);
|
||||
|
||||
save_addr = intf->target_addr;
|
||||
intf->target_addr = target;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user