From afb1811712ae0fc4afea010c3bbfe00449d020fb Mon Sep 17 00:00:00 2001 From: otti Date: Fri, 29 Feb 2008 16:06:20 +0000 Subject: [PATCH] changed routing git-svn-id: https://anytun.org/svn/anytun@389 2edecd69-f0ce-4815-94af-351a89d40aaa --- 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; -- 2.11.4.GIT