diff --git a/src/iec61850/server/mms_mapping/control.c b/src/iec61850/server/mms_mapping/control.c index ef4f9e27..0107083a 100644 --- a/src/iec61850/server/mms_mapping/control.c +++ b/src/iec61850/server/mms_mapping/control.c @@ -472,8 +472,8 @@ ControlObject_initialize(ControlObject* self) updateSboTimeoutValue(self); if (self->sbo) { - char* controlObjectReference = StringUtils_createStringInBuffer(strBuf, 6, self->mmsDomain->domainName, - "/", self->lnName, "$CO$", self->name, "$SBO"); + char* controlObjectReference = StringUtils_createStringInBuffer(strBuf, 5, self->mmsDomain->domainName, + "/", self->lnName, "$CO$", self->name); MmsValue_setVisibleString(self->sbo, controlObjectReference); }