diff options
Diffstat (limited to 'node/IncomingPacket.cpp')
-rw-r--r-- | node/IncomingPacket.cpp | 4 |
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); |