mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-29 15:43:52 +00:00
Ignore old root-topology if present -- fix for upgrading on Linux and possibly elsewhere.
This commit is contained in:
parent
2aa1b5d9b7
commit
5fcef91278
@ -136,7 +136,7 @@ Node::Node(
|
||||
if (!Topology::authenticateRootTopology(rt))
|
||||
rt.clear();
|
||||
}
|
||||
if (!rt.size())
|
||||
if ((!rt.size())||(!rt.contains("rootservers")))
|
||||
rt.fromString(ZT_DEFAULTS.defaultRootTopology);
|
||||
}
|
||||
RR->topology->setRootServers(Dictionary(rt.get("rootservers","")));
|
||||
|
Loading…
x
Reference in New Issue
Block a user