summaryrefslogtreecommitdiff
path: root/routingTable.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-02-29 16:06:20 +0000
committerOthmar Gsenger <otti@anytun.org>2008-02-29 16:06:20 +0000
commit5720446aeef8947ca4800aae00de5a9daf87b475 (patch)
tree75c2cd750b61ca68351caa2b8af5c79a8f8ed356 /routingTable.cpp
parentsender early setting of payload type (diff)
changed routing
Diffstat (limited to 'routingTable.cpp')
-rw-r--r--routingTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/routingTable.cpp b/routingTable.cpp
index 9db9f61..f15f857 100644
--- a/routingTable.cpp
+++ b/routingTable.cpp
@@ -84,7 +84,7 @@ u_int16_t RoutingTable::getRoute(const NetworkAddress & addr)
return 0;
NetworkPrefix prefix(addr,32);
RoutingMap::iterator it = routes_.lower_bound(prefix);
- it--;
+// it--;
if (it!=routes_.end())
return it->second;
return 0;