summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;