diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-02-29 14:52:10 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-02-29 14:52:10 +0000 |
commit | 8cc8098e08b588bbbaa0be07f9b12f7b924347b6 (patch) | |
tree | 0e0b11a5519cc185a4e5821963b417a4eac7b5fe /routingTable.cpp | |
parent | route (diff) |
fixed routing table getornew
Diffstat (limited to 'routingTable.cpp')
-rw-r--r-- | routingTable.cpp | 2 |
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()) |