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