summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-02-27 20:44:12 +0000
committerOthmar Gsenger <otti@anytun.org>2008-02-27 20:44:12 +0000
commit9c3bb1aed4b9e8922bc33f4133f9936c992ef93d (patch)
treead1bb38523bd7a50e6e5394365880750edef986b /anytun.cpp
parentadded network prefix (diff)
added routing table support
Diffstat (limited to 'anytun.cpp')
-rw-r--r--anytun.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/anytun.cpp b/anytun.cpp
index df80f79..0b4eaf6 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -53,6 +53,8 @@
#include "options.h"
#include "seqWindow.h"
#include "connectionList.h"
+#include "routingTable.h"
+#include "networkAddress.h"
#include "syncQueue.h"
#include "syncSocketHandler.h"
@@ -153,7 +155,8 @@ void* sender(void* p)
if(param->cl.empty())
continue;
-
+
+ gRoutingTable.getRoute(NetworkAddress());
ConnectionMap::iterator cit = param->cl.getConnection(mux);
if(cit==param->cl.getEnd())
continue;