summaryrefslogtreecommitdiff
path: root/node/IncomingPacket.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-17 12:19:01 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-17 12:19:01 -0700
commit417f56de2f7b75c4c9e91d9cc8e067c4542213c8 (patch)
treee552c930b11be11fc3ec43d256369b0d2c4081d3 /node/IncomingPacket.cpp
parentb51d00146ba1bbaf1fe6947f9264c22898c99766 (diff)
downloadinfinitytier-417f56de2f7b75c4c9e91d9cc8e067c4542213c8.tar.gz
infinitytier-417f56de2f7b75c4c9e91d9cc8e067c4542213c8.zip
Add some TRACE instrumentation to external surface address awareness.
Diffstat (limited to 'node/IncomingPacket.cpp')
-rw-r--r--node/IncomingPacket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp
index efb506fe..5397d51c 100644
--- a/node/IncomingPacket.cpp
+++ b/node/IncomingPacket.cpp
@@ -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);