Docs and auto-update of Earth network ID.

This commit is contained in:
Adam Ierymenko
2013-10-20 16:00:41 -04:00
parent c89cdcc3fd
commit 70655cc3f7
2 changed files with 7 additions and 5 deletions

View File

@ -87,6 +87,10 @@ NodeConfig::NodeConfig(const RuntimeEnvironment *renv,const char *authToken,unsi
nwid = 0x8D93FBE886000001ULL;
Utils::rm((networksFolder + ZT_PATH_SEPARATOR_S + d->first).c_str());
}
if (nwid == 0x8D93FBE886000001ULL) {
nwid = 0x8056c2e21c000001ULL;
Utils::rm((networksFolder + ZT_PATH_SEPARATOR_S + d->first).c_str());
}
if (nwid > 0)
nwids.insert(nwid);