From db56cc3f86d8d5c3d035c12474ff5f2bad46d4dd Mon Sep 17 00:00:00 2001 From: Jim Mankovich Date: Tue, 5 Mar 2013 18:49:09 +0000 Subject: [PATCH] Do not bridge in-band ipmi requests when -m is specified without -t on the command line. Prior to this change -m would always attempt to bride the request becaues the default target_address was being set to 0x20 instead of zero. ID: 3605313 --- ipmitool/src/plugins/open/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipmitool/src/plugins/open/open.c b/ipmitool/src/plugins/open/open.c index ba4d25b..759a9e0 100644 --- a/ipmitool/src/plugins/open/open.c +++ b/ipmitool/src/plugins/open/open.c @@ -385,5 +385,5 @@ struct ipmi_intf ipmi_open_intf = { close: ipmi_openipmi_close, sendrecv: ipmi_openipmi_send_cmd, my_addr: IPMI_BMC_SLAVE_ADDR, - target_addr: IPMI_BMC_SLAVE_ADDR, + target_addr: 0, /* init so -m local_addr does not cause bridging */ };