summaryrefslogtreecommitdiff
path: root/router.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'router.cpp')
-rw-r--r--router.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/router.cpp b/router.cpp
index 0948a9f..438a23a 100644
--- a/router.cpp
+++ b/router.cpp
@@ -41,9 +41,9 @@ Router::~Router()
{
}
-void Router::addConnection(connection_param_t conn)
+void Router::addConnection(ConnectionParam &conn,const std::string &name)
{
- Lock lock(mutex_);
+ con_list_.addConnection(conn,name);
}
connection_param_t Router::getRoute()