summaryrefslogtreecommitdiff
path: root/testnet.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-03-30 17:48:48 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-03-30 17:48:48 -0700
commit60158aa5dd38c979ed823fc477ab84e8d9e7a43d (patch)
tree8cdc7091547c8173fdc270ed3d56853ddc5e6da4 /testnet.cpp
parent3c1a59fa2493c6ab2758934fe1062d82975de158 (diff)
downloadinfinitytier-60158aa5dd38c979ed823fc477ab84e8d9e7a43d.tar.gz
infinitytier-60158aa5dd38c979ed823fc477ab84e8d9e7a43d.zip
Turns out that node/ likely has no business with or need for the system IP routing table. So shelve that code for now.
Diffstat (limited to 'testnet.cpp')
-rw-r--r--testnet.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/testnet.cpp b/testnet.cpp
index eeb59b90..5b175728 100644
--- a/testnet.cpp
+++ b/testnet.cpp
@@ -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;