mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-12-15 23:00:59 -08:00
Implemented empirical determination of external addressing, paritioned per scope.
This commit is contained in:
parent
817824b88b
commit
52c3b7c34e
10 changed files with 102 additions and 95 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue