summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apphandler.C2
-rw-r--r--ipmid.C1
2 files changed, 1 insertions, 2 deletions
diff --git a/apphandler.C b/apphandler.C
index a921643..fc6c811 100644
--- a/apphandler.C
+++ b/apphandler.C
@@ -358,7 +358,7 @@ ipmi_ret_t ipmi_app_channel_info(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
printf("IPMI APP GET CHANNEL INFO\n");
// I"m only supporting channel 1. 0xE is the 'default channel'
- if (*p == 0xe || *p == 1) {
+ if (*p == 0xe || *p == 1 || *p == 8) {
*data_len = sizeof(resp);
memcpy(response, resp, *data_len);
diff --git a/ipmid.C b/ipmid.C
index 6726a27..728ba0b 100644
--- a/ipmid.C
+++ b/ipmid.C
@@ -267,7 +267,6 @@ static int handle_ipmi_command(sd_bus_message *m, void *user_data, sd_bus_error
if(r != 0)
{
fprintf(stderr,"ERROR:[0x%X] handling NetFn:[0x%X], Cmd:[0x%X]\n",r, netfn, cmd);
- return -1;
}
fprintf(ipmiio, "IPMI Response:\n");
OpenPOWER on IntegriCloud