|
|
192e94 |
commit 2ad5407054742afc0100dd9429de9cb4a5773d5f
|
|
|
192e94 |
Author: Albert Chu <chu11@llnl.gov>
|
|
|
192e94 |
Date: Fri Feb 16 10:57:46 2018 -0800
|
|
|
192e94 |
|
|
|
192e94 |
When bridging, send to BMC LUN not SMS LUN.
|
|
|
192e94 |
|
|
|
192e94 |
diff --git a/libfreeipmi/api/ipmi-kcs-driver-api.c b/libfreeipmi/api/ipmi-kcs-driver-api.c
|
|
|
192e94 |
index 82c0bf5b8..3c5e282da 100644
|
|
|
192e94 |
--- a/libfreeipmi/api/ipmi-kcs-driver-api.c
|
|
|
192e94 |
+++ b/libfreeipmi/api/ipmi-kcs-driver-api.c
|
|
|
192e94 |
@@ -441,7 +441,7 @@ _api_kcs_ipmb_send (ipmi_ctx_t ctx,
|
|
|
192e94 |
ctx->target.net_fn,
|
|
|
192e94 |
ctx->target.lun,
|
|
|
192e94 |
IPMI_SLAVE_ADDRESS_BMC,
|
|
|
192e94 |
- IPMI_BMC_IPMB_LUN_SMS_MSG_LUN,
|
|
|
192e94 |
+ IPMI_BMC_IPMB_LUN_BMC,
|
|
|
192e94 |
ctx->io.inband.rq_seq,
|
|
|
192e94 |
obj_ipmb_msg_hdr_rq) < 0)
|
|
|
192e94 |
{
|
|
|
192e94 |
diff --git a/libfreeipmi/api/ipmi-lan-session-common.c b/libfreeipmi/api/ipmi-lan-session-common.c
|
|
|
192e94 |
index c9193953f..9e0e4f8ce 100644
|
|
|
192e94 |
--- a/libfreeipmi/api/ipmi-lan-session-common.c
|
|
|
192e94 |
+++ b/libfreeipmi/api/ipmi-lan-session-common.c
|
|
|
192e94 |
@@ -1222,7 +1222,7 @@ _ipmi_cmd_send_ipmb (ipmi_ctx_t ctx, fiid_obj_t obj_cmd_rq)
|
|
|
192e94 |
ctx->target.net_fn,
|
|
|
192e94 |
ctx->target.lun,
|
|
|
192e94 |
IPMI_SLAVE_ADDRESS_BMC,
|
|
|
192e94 |
- IPMI_BMC_IPMB_LUN_SMS_MSG_LUN,
|
|
|
192e94 |
+ IPMI_BMC_IPMB_LUN_BMC,
|
|
|
192e94 |
ctx->io.outofband.rq_seq,
|
|
|
192e94 |
obj_ipmb_msg_hdr_rq) < 0)
|
|
|
192e94 |
{
|
|
|
192e94 |
diff --git a/libfreeipmi/api/ipmi-ssif-driver-api.c b/libfreeipmi/api/ipmi-ssif-driver-api.c
|
|
|
192e94 |
index b9bd0dcb6..8bd7b9601 100644
|
|
|
192e94 |
--- a/libfreeipmi/api/ipmi-ssif-driver-api.c
|
|
|
192e94 |
+++ b/libfreeipmi/api/ipmi-ssif-driver-api.c
|
|
|
192e94 |
@@ -449,7 +449,7 @@ _api_ssif_ipmb_send (ipmi_ctx_t ctx,
|
|
|
192e94 |
ctx->target.net_fn,
|
|
|
192e94 |
ctx->target.lun,
|
|
|
192e94 |
IPMI_SLAVE_ADDRESS_BMC,
|
|
|
192e94 |
- IPMI_BMC_IPMB_LUN_SMS_MSG_LUN,
|
|
|
192e94 |
+ IPMI_BMC_IPMB_LUN_BMC,
|
|
|
192e94 |
ctx->io.inband.rq_seq,
|
|
|
192e94 |
obj_ipmb_msg_hdr_rq) < 0)
|
|
|
192e94 |
{
|