Add some TRACE instrumentation to external surface address awareness.

This commit is contained in:
Adam Ierymenko 2015-04-17 12:19:01 -07:00
parent b51d00146b
commit 417f56de2f
3 changed files with 15 additions and 11 deletions

View file

@ -270,9 +270,9 @@ bool IncomingPacket::_doHELLO(const RuntimeEnvironment *RR)
if (RR->topology->isSupernode(id.address())) {
RR->node->postNewerVersionIfNewer(vMajor,vMinor,vRevision);
RR->sa->iam(_remoteAddress,destAddr,true);
RR->sa->iam(id.address(),_remoteAddress,destAddr,true);
} else {
RR->sa->iam(_remoteAddress,destAddr,false);
RR->sa->iam(id.address(),_remoteAddress,destAddr,false);
}
Packet outp(id.address(),RR->identity.address(),Packet::VERB_OK);