diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-02-29 15:39:05 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-02-29 15:39:05 +0000 |
commit | b39c0faaa0971967edf0597948e8b39eec19379f (patch) | |
tree | 1b0d6b935216222c10a10551cff93aafa02a8557 /anytun.cpp | |
parent | changed networkPrefix Constructor (diff) |
routing debug
Diffstat (limited to 'anytun.cpp')
-rw-r--r-- | anytun.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |