Add port and control port command line options to daemon and command line client, add new supernode keys to Defaults.
This commit is contained in:
parent
de5cc82b5b
commit
300588c5e8
8 changed files with 78 additions and 47 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue