mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-13 04:38:28 +00:00
IPC changes and SocketManager changes all build!
This commit is contained in:
@ -53,7 +53,7 @@ namespace ZeroTier {
|
||||
|
||||
NodeConfig::NodeConfig(const RuntimeEnvironment *renv,const char *authToken) :
|
||||
_r(renv),
|
||||
_ipcListener(ZT_IPC_ENDPOINT,&_CBcommandHandler,this),
|
||||
_ipcListener((std::string(ZT_IPC_ENDPOINT_BASE) + renv->identity.address().toString()).c_str(),&_CBcommandHandler,this),
|
||||
_authToken(authToken)
|
||||
{
|
||||
{
|
||||
@ -177,8 +177,8 @@ public:
|
||||
|
||||
void NodeConfig::_doCommand(IpcConnection *ipcc,const char *commandLine)
|
||||
{
|
||||
if (!commandLine)
|
||||
return; // sanity check
|
||||
if ((!commandLine)||(!commandLine[0]))
|
||||
return;
|
||||
std::vector<std::string> r;
|
||||
std::vector<std::string> cmd(Utils::split(commandLine,"\r\n \t","\\","'"));
|
||||
|
||||
|
Reference in New Issue
Block a user