diff --git a/mtce-common/src/common/redfishUtil.cpp b/mtce-common/src/common/redfishUtil.cpp index 7cc2e775..3c7a97e2 100644 --- a/mtce-common/src/common/redfishUtil.cpp +++ b/mtce-common/src/common/redfishUtil.cpp @@ -383,8 +383,9 @@ string redfishUtil_create_request ( string cmd, command_request.append(" -T 30"); /* specify the bmc ip address */ - command_request.append(" -r "); + command_request.append(" -r ["); command_request.append(ip); + command_request.append("]"); #ifdef WANT_INLINE_CREDS if ( daemon_is_file_present ( MTC_CMD_FIT__INLINE_CREDS ) )