summaryrefslogtreecommitdiff
path: root/routingTable.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-02-29 14:52:10 +0000
committerOthmar Gsenger <otti@anytun.org>2008-02-29 14:52:10 +0000
commit8cc8098e08b588bbbaa0be07f9b12f7b924347b6 (patch)
tree0e0b11a5519cc185a4e5821963b417a4eac7b5fe /routingTable.cpp
parentroute (diff)
fixed routing table getornew
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 8ed5697..d23bc4f 100644
--- a/routingTable.cpp
+++ b/routingTable.cpp
@@ -91,7 +91,7 @@ u_int16_t RoutingTable::getRoute(const NetworkAddress & addr)
return 0;
}
-u_int16_t* RoutingTable::getOrNewRoutingTEUnlocked(const NetworkAddress & addr)
+u_int16_t* RoutingTable::getOrNewRoutingTEUnlocked(const NetworkPrefix & addr)
{
RoutingMap::iterator it = routes_.find(addr);
if(it!=routes_.end())