diff --git a/mtce/src/common/nodeClass.cpp b/mtce/src/common/nodeClass.cpp index f9e2fe36..b46bfafe 100755 --- a/mtce/src/common/nodeClass.cpp +++ b/mtce/src/common/nodeClass.cpp @@ -4097,7 +4097,7 @@ void nodeLinkClass::set_cmd_resp ( string & hostname, mtc_message_type & msg, in * Host Services Request's Response Handling *****************************************************/ node_ptr->host_services_req.status = msg.parm[0] ; - if ( msg.cmd == node_ptr->host_services_req.cmd ) + if (( msg.cmd == node_ptr->host_services_req.cmd ) || ( msg.cmd == MTC_CMD_HOST_SVCS_RESULT )) { // print_mtc_message ( &msg, true ); @@ -4122,7 +4122,7 @@ void nodeLinkClass::set_cmd_resp ( string & hostname, mtc_message_type & msg, in * services extension. */ else if (( msg.num > 1 ) && ( msg.parm[1] == MTC_ENHANCED_HOST_SERVICES )) { - dlog ("%s %s request ack\n", + ilog ("%s %s request ack", hostname.c_str(), node_ptr->host_services_req.name.c_str()); node_ptr->host_services_req.ack = true ; diff --git a/mtce/src/maintenance/mtcCtrlMsg.cpp b/mtce/src/maintenance/mtcCtrlMsg.cpp index 3693692f..afd4450d 100755 --- a/mtce/src/maintenance/mtcCtrlMsg.cpp +++ b/mtce/src/maintenance/mtcCtrlMsg.cpp @@ -294,11 +294,8 @@ int mtc_service_inbox ( nodeLinkClass * obj_ptr, obj_ptr->set_cmd_resp ( hostname , msg, iface ) ; if ( msg.num > 0 ) { - /* log if not locked message, not start host services result - * message and there is an error */ - if (( msg.cmd != MTC_MSG_LOCKED ) && - ( msg.cmd != MTC_CMD_HOST_SVCS_RESULT ) && - ( msg.parm[0] )) + /* log if not locked message */ + if ( msg.cmd != MTC_MSG_LOCKED ) { ilog ("%s '%s' ACK (rc:%d) (%s)", hostname.c_str(),