summaryrefslogtreecommitdiff
path: root/routingTable.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-02-29 14:04:26 +0000
committerOthmar Gsenger <otti@anytun.org>2008-02-29 14:04:26 +0000
commit89411ba2191500b401955b88ae1f90bf46a4d80f (patch)
tree7339b40a6681a9e7a620d7cec52c98976ff99d65 /routingTable.cpp
parentdelete[] bugfix in syncClientSocket.cpp, (diff)
testing
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 d51d718..2cc9e3e 100644
--- a/routingTable.cpp
+++ b/routingTable.cpp
@@ -97,7 +97,7 @@ u_int16_t& RoutingTable::getOrNewRoutingTEUnlocked(const NetworkAddress & addr)
if(it!=routes_.end())
return it->second;
- routes_.insert(RoutingMap::value_type(addr, 0));
+ routes_.insert(RoutingMap::value_type(addr, 1));
it = routes_.find(addr);
return it->second;
}