Removed debug lines from ZT1Service functions

This commit is contained in:
Joseph Henry
2017-09-29 13:26:36 -07:00
parent 2b09c57b45
commit af7a164f30

View File

@@ -407,18 +407,15 @@ void zts_simple_start(const char *path, const char *nwid)
nanosleep((const struct timespec[]) {{0, (ZTO_WRAPPER_CHECK_INTERVAL * 1000000)}}, NULL); nanosleep((const struct timespec[]) {{0, (ZTO_WRAPPER_CHECK_INTERVAL * 1000000)}}, NULL);
} }
while (true) { while (true) {
DEBUG_EXTRA("trying join");
try { try {
zts_join(nwid); zts_join(nwid);
DEBUG_EXTRA("joined");
break; break;
} }
catch( ... ) { catch( ... ) {
DEBUG_ERROR("there was a problem joining the virtual network"); DEBUG_ERROR("there was a problem joining the virtual network %s", nwid);
handle_general_failure(); handle_general_failure();
} }
} }
DEBUG_EXTRA("waiting for addresss");
while (zts_has_address(nwid) == false) { while (zts_has_address(nwid) == false) {
nanosleep((const struct timespec[]) {{0, (ZTO_WRAPPER_CHECK_INTERVAL * 1000000)}}, NULL); nanosleep((const struct timespec[]) {{0, (ZTO_WRAPPER_CHECK_INTERVAL * 1000000)}}, NULL);
} }