summaryrefslogtreecommitdiff
path: root/router.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-11-06 23:28:11 +0000
committerOthmar Gsenger <otti@anytun.org>2007-11-06 23:28:11 +0000
commit49147bacbfb07337c54ddd3df94499c166a0376c (patch)
treecaca5664c5169353d78846e74395b7c601f67b01 /router.cpp
parentadded router (diff)
router + connection manage eingebaut
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()