summaryrefslogtreecommitdiff
path: root/control/NodeControlService.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-17 14:19:58 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-17 14:19:58 -0700
commit6b76cac6cff005d918930322b72b668b7820051f (patch)
treebfd00b919f52867e21619556f2d8b4e7179d29ef /control/NodeControlService.cpp
parent2762db8408dbc2032f0c253234cc382580d8fad3 (diff)
downloadinfinitytier-6b76cac6cff005d918930322b72b668b7820051f.tar.gz
infinitytier-6b76cac6cff005d918930322b72b668b7820051f.zip
Back off from thrashing shutdownIfUnreadableCheck, fix bug in control service.
Diffstat (limited to 'control/NodeControlService.cpp')
-rw-r--r--control/NodeControlService.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/control/NodeControlService.cpp b/control/NodeControlService.cpp
index 67a98fe6..5d4d08d6 100644
--- a/control/NodeControlService.cpp
+++ b/control/NodeControlService.cpp
@@ -71,6 +71,7 @@ void NodeControlService::threadMain()
} else if ((_node->initialized())&&(_node->address())) {
Utils::snprintf(tmp,sizeof(tmp),"%s%.10llx",ZT_IPC_ENDPOINT_BASE,(unsigned long long)_node->address());
_listener = new IpcListener(tmp,&_CBcommandHandler,this);
+ break;
}
Thread::sleep(100); // wait for Node to start
}