mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-19 11:16:32 +00:00
Fix root topology override
This commit is contained in:
parent
d7189dd6c7
commit
f853bc6a86
2
main.cpp
2
main.cpp
@ -821,7 +821,7 @@ int main(int argc,char **argv)
|
||||
routingTable = ZTCreatePlatformRoutingTable;
|
||||
}
|
||||
|
||||
node = new Node(homeDir,tapFactory,routingTable,udpPort,tcpPort,needsReset);
|
||||
node = new Node(homeDir,tapFactory,routingTable,udpPort,tcpPort,needsReset,(overrideRootTopology.length() > 0) ? overrideRootTopology.c_str() : (const char *)0);
|
||||
controlService = new NodeControlService(node,authToken.c_str());
|
||||
|
||||
switch(node->run()) {
|
||||
|
Loading…
Reference in New Issue
Block a user