summaryrefslogtreecommitdiff
path: root/node/NodeConfig.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-20 16:00:41 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-20 16:00:41 -0400
commit70655cc3f73749ca04f5214e9457f7a6293e7f97 (patch)
tree62facdfbeb78f3a6b2488b4454e78582aea0af3e /node/NodeConfig.cpp
parentc89cdcc3fdbe099e6b3bcafe061b0b7278965633 (diff)
downloadinfinitytier-70655cc3f73749ca04f5214e9457f7a6293e7f97.tar.gz
infinitytier-70655cc3f73749ca04f5214e9457f7a6293e7f97.zip
Docs and auto-update of Earth network ID.
Diffstat (limited to 'node/NodeConfig.cpp')
-rw-r--r--node/NodeConfig.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/node/NodeConfig.cpp b/node/NodeConfig.cpp
index f26cd8ea..85aca6d2 100644
--- a/node/NodeConfig.cpp
+++ b/node/NodeConfig.cpp
@@ -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);