summaryrefslogtreecommitdiff
path: root/anytun.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-02-29 15:39:05 +0000
committerOthmar Gsenger <otti@anytun.org>2008-02-29 15:39:05 +0000
commitb39c0faaa0971967edf0597948e8b39eec19379f (patch)
tree1b0d6b935216222c10a10551cff93aafa02a8557 /anytun.cpp
parentchanged networkPrefix Constructor (diff)
routing debug
Diffstat (limited to 'anytun.cpp')
-rw-r--r--anytun.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/anytun.cpp b/anytun.cpp
index ff4a724..f607790 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -144,8 +144,9 @@ void* sender(void* p)
if(param->cl.empty())
continue;
-
- mux = gRoutingTable.getRoute(NetworkAddress());
+ std::cout << "got Packet for plain "<<plain_packet.getDstAddr().toString();
+ mux = gRoutingTable.getRoute(plain_packet.getDstAddr());
+ std::cout << " -> "<<mux << std::endl;
ConnectionMap::iterator cit = param->cl.getConnection(mux);
if(cit==param->cl.getEnd())
continue;