mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-18 07:08:16 +00:00
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:
@ -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];
|
||||
|
Reference in New Issue
Block a user