mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-16 06:08:15 +00:00
Implemented empirical determination of external addressing, paritioned per scope.
This commit is contained in:
@ -264,9 +264,9 @@ bool IncomingPacket::_doHELLO(const RuntimeEnvironment *RR)
|
||||
|
||||
if (RR->topology->isSupernode(id.address())) {
|
||||
RR->node->postNewerVersionIfNewer(vMajor,vMinor,vRevision);
|
||||
RR->sa->iam(destAddr,true);
|
||||
RR->sa->iam(_remoteAddress,destAddr,true);
|
||||
} else {
|
||||
RR->sa->iam(destAddr,false);
|
||||
RR->sa->iam(_remoteAddress,destAddr,false);
|
||||
}
|
||||
|
||||
Packet outp(id.address(),RR->identity.address(),Packet::VERB_OK);
|
||||
|
Reference in New Issue
Block a user