summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--routingTable.cpp2
-rw-r--r--routingTable.h2
2 files changed, 2 insertions, 2 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())
diff --git a/routingTable.h b/routingTable.h
index 6ffd15b..b027bd8 100644
--- a/routingTable.h
+++ b/routingTable.h
@@ -53,7 +53,7 @@ public:
bool empty();
void clear();
Mutex& getMutex();
- u_int16_t* getOrNewRoutingTEUnlocked(const NetworkAddress & addr);
+ u_int16_t* getOrNewRoutingTEUnlocked(const NetworkPrefix & addr);
uint16_t getCountUnlocked();
RoutingMap::iterator getBeginUnlocked();
RoutingMap::iterator getEndUnlocked();