mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Remove code to automatically join Earth -- network joins will now be user-initiated and manual.
This commit is contained in:
parent
9fe613805f
commit
fb8d5204e3
1 changed files with 0 additions and 7 deletions
|
@ -86,13 +86,6 @@ NodeConfig::NodeConfig(const RuntimeEnvironment *renv,const char *authToken,unsi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO:
|
|
||||||
// This might go away eventually. This causes the LAN called Earth to be
|
|
||||||
// automatically joined if there are no other networks. This is for backward
|
|
||||||
// compatibility with the expectations of previous alpha users.
|
|
||||||
if (nwids.empty())
|
|
||||||
nwids.insert(0x6c92786fee000001ULL);
|
|
||||||
|
|
||||||
for(std::set<uint64_t>::iterator nwid(nwids.begin());nwid!=nwids.end();++nwid) {
|
for(std::set<uint64_t>::iterator nwid(nwids.begin());nwid!=nwids.end();++nwid) {
|
||||||
try {
|
try {
|
||||||
SharedPtr<Network> nw(Network::newInstance(_r,*nwid));
|
SharedPtr<Network> nw(Network::newInstance(_r,*nwid));
|
||||||
|
|
Loading…
Add table
Reference in a new issue