|
@@ -780,7 +780,7 @@ cmRtNetRC_t _cmRtNetSend( cmRtNet_t* p, const cmRtNetEnd_t* ep, const void* msg,
|
780
|
780
|
r->hdr.rtSubIdx = ep->rtSubIdx;
|
781
|
781
|
r->hdr.selId = kMsgSelRtId;
|
782
|
782
|
r->endptId = ep->id;
|
783
|
|
- memcpy(data+sizeof(cmRtSysMsgHdr_t),msg,msgByteCnt);
|
|
783
|
+ memcpy(data+sizeof(cmRtNetMsg_t),msg,msgByteCnt);
|
784
|
784
|
|
785
|
785
|
if( cmUdpSendTo(p->udpH, data, dN, &ep->np->sockaddr ) != kOkUdpRC )
|
786
|
786
|
return cmErrMsg(&p->err,kUdpPortFailNetRC,"Send to node:%s endpt:%s failed.\n",cmStringNullGuard(ep->np->label),cmStringNullGuard(ep->label));
|