mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 05:13:58 -07:00
Turns out that node/ likely has no business with or need for the system IP routing table. So shelve that code for now.
This commit is contained in:
parent
3c1a59fa24
commit
60158aa5dd
19 changed files with 9 additions and 31 deletions
|
@ -50,7 +50,6 @@
|
|||
#include "testnet/SimNetSocketManager.hpp"
|
||||
#include "testnet/TestEthernetTap.hpp"
|
||||
#include "testnet/TestEthernetTapFactory.hpp"
|
||||
#include "testnet/TestRoutingTable.hpp"
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#include <windows.h>
|
||||
|
@ -67,9 +66,8 @@ public:
|
|||
SimNode(SimNet &net,const std::string &hp,const char *rootTopology,bool issn,const InetAddress &addr) :
|
||||
home(hp),
|
||||
tapFactory(),
|
||||
routingTable(),
|
||||
socketManager(net.newEndpoint(addr)),
|
||||
node(home.c_str(),&tapFactory,&routingTable,socketManager,false,rootTopology),
|
||||
node(home.c_str(),&tapFactory,socketManager,false,rootTopology),
|
||||
reasonForTermination(Node::NODE_RUNNING),
|
||||
supernode(issn)
|
||||
{
|
||||
|
@ -90,7 +88,6 @@ public:
|
|||
|
||||
std::string home;
|
||||
TestEthernetTapFactory tapFactory;
|
||||
TestRoutingTable routingTable;
|
||||
SimNetSocketManager *socketManager;
|
||||
Node node;
|
||||
Node::ReasonForTermination reasonForTermination;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue