From 70655cc3f73749ca04f5214e9457f7a6293e7f97 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Sun, 20 Oct 2013 16:00:41 -0400 Subject: Docs and auto-update of Earth network ID. --- node/NodeConfig.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'node') 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); -- cgit v1.2.3