From 5720446aeef8947ca4800aae00de5a9daf87b475 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Fri, 29 Feb 2008 16:06:20 +0000 Subject: changed routing --- routingTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3