summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/routingTable.cpp2
-rw-r--r--src/routingTable.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/routingTable.cpp b/src/routingTable.cpp
index 3c79e8f..c767d62 100644
--- a/src/routingTable.cpp
+++ b/src/routingTable.cpp
@@ -60,7 +60,7 @@ RoutingTable::~RoutingTable()
void RoutingTable::updateRouteTree(const NetworkPrefix & pref)
{
- Lock lock(mutex_);
+ //Lock lock(mutex_); //deadlock
u_int8_t length=pref.getNetworkPrefixLength();
network_address_type_t type=pref.getNetworkAddressType();
diff --git a/src/routingTable.h b/src/routingTable.h
index 85de0fa..2f25c1a 100644
--- a/src/routingTable.h
+++ b/src/routingTable.h
@@ -50,7 +50,7 @@ public:
RoutingTable();
~RoutingTable();
void addRoute(const NetworkPrefix & ,u_int16_t);
- void updateRouteTree(const NetworkPrefix & pref);
+ void updateRouteTree(const NetworkPrefix & pref); //Warning Unlocked!!!
void delRoute(const NetworkPrefix & );
u_int16_t getRoute(const NetworkAddress &);
bool empty(network_address_type_t type);