summaryrefslogtreecommitdiff
path: root/node/NodeConfig.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-17 14:47:48 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-17 14:47:48 -0400
commit300588c5e86689b56d66555f8aefa9868d170361 (patch)
tree86d02a1a26150980d72bf8b8640423ca81bfd337 /node/NodeConfig.cpp
parentde5cc82b5b29a47b0cc7de08800fe38860228850 (diff)
downloadinfinitytier-300588c5e86689b56d66555f8aefa9868d170361.tar.gz
infinitytier-300588c5e86689b56d66555f8aefa9868d170361.zip
Add port and control port command line options to daemon and command line client, add new supernode keys to Defaults.
Diffstat (limited to 'node/NodeConfig.cpp')
-rw-r--r--node/NodeConfig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/NodeConfig.cpp b/node/NodeConfig.cpp
index 823e2798..bc1be763 100644
--- a/node/NodeConfig.cpp
+++ b/node/NodeConfig.cpp
@@ -62,10 +62,10 @@
namespace ZeroTier {
-NodeConfig::NodeConfig(const RuntimeEnvironment *renv,const char *authToken)
+NodeConfig::NodeConfig(const RuntimeEnvironment *renv,const char *authToken,unsigned int controlPort)
throw(std::runtime_error) :
_r(renv),
- _controlSocket(true,ZT_CONTROL_UDP_PORT,false,&_CBcontrolPacketHandler,this)
+ _controlSocket(true,controlPort,false,&_CBcontrolPacketHandler,this)
{
{
unsigned int csk[64];