|
@@ -513,7 +513,7 @@ cmRtNetRC_t _cmRtNetSyncModeRecv( cmRtNet_t* p, const char* data, unsigned data
|
513
|
513
|
const cmChar_t* fromAddrStr = cmUdpAddrToString(p->udpH,fromAddr);
|
514
|
514
|
const cmChar_t* localAddrStr = cmUdpAddrToString(p->udpH,cmUdpLocalAddr(p->udpH));
|
515
|
515
|
|
516
|
|
- if( fromAddrStr!=NULL && localAddrStr!=NULL && strcmp(fromAddrStr,localAddrStr)==0)
|
|
516
|
+ if( fromAddrStr!=NULL && localAddrStr!=NULL && strcmp(fromAddrStr,localAddrStr)!=0)
|
517
|
517
|
cmErrMsg(&p->err,kDuplLocalNetRC,"The node label '%s' appears to be duplicated at address %s and locally.",cmStringNullGuard(m.label),fromAddrStr);
|
518
|
518
|
|
519
|
519
|
np->sockaddr = *fromAddr;
|