summaryrefslogtreecommitdiff
path: root/anyrtpproxy/commandHandler.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-03-17 20:06:13 +0000
committerOthmar Gsenger <otti@anytun.org>2008-03-17 20:06:13 +0000
commitec2e3b3ff531daf579f5553096b5fa2284d44f08 (patch)
treead713a403d5b1540a31dcbfe72250d85e6d22b4a /anyrtpproxy/commandHandler.cpp
parentadded port window and port range options (diff)
added port window to command handler
Diffstat (limited to 'anyrtpproxy/commandHandler.cpp')
-rw-r--r--anyrtpproxy/commandHandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/anyrtpproxy/commandHandler.cpp b/anyrtpproxy/commandHandler.cpp
index 71f4126..dd37fcc 100644
--- a/anyrtpproxy/commandHandler.cpp
+++ b/anyrtpproxy/commandHandler.cpp
@@ -44,14 +44,14 @@
#define MAX_COMMAND_LENGTH 1000
-CommandHandler::CommandHandler(SyncQueue& q, u_int16_t lp) : queue_(q), running_(true), control_sock_(lp),
- local_address_("0.0.0.0"), local_port_(lp)
+CommandHandler::CommandHandler(SyncQueue& q, u_int16_t lp,PortWindow & pw) : queue_(q), running_(true), control_sock_(lp),
+ local_address_("0.0.0.0"), local_port_(lp),port_window_(pw)
{
pthread_create(&thread_, NULL, run, this);
}
-CommandHandler::CommandHandler(SyncQueue& q, string la, u_int16_t lp) : queue_(q), running_(true), control_sock_(la, lp),
- local_address_(la), local_port_(lp)
+CommandHandler::CommandHandler(SyncQueue& q, string la, u_int16_t lp,PortWindow & pw) : queue_(q), running_(true), control_sock_(la, lp),
+ local_address_(la), local_port_(lp),port_window_(pw)
{
pthread_create(&thread_, NULL, run, this);
}