Updated zts_start* API naming convention
This commit is contained in:
@@ -9,7 +9,7 @@ struct ZT {
|
||||
}
|
||||
|
||||
static void simpleStart(const char *path, const char *nwid) {
|
||||
zts_simple_start(path, nwid);
|
||||
zts_startjoin(path, nwid);
|
||||
}
|
||||
|
||||
static void stop() {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
int main()
|
||||
{
|
||||
printf("waiting for libzt to come online...\n");
|
||||
zts_simple_start("dlldir", "17d709436c2c5367");
|
||||
zts_startjoin("dlldir", "17d709436c2c5367");
|
||||
printf("started. now performing a socket call\n");
|
||||
int fd = zts_socket(AF_INET, SOCK_STREAM, 0);
|
||||
printf("fd=%d\n", fd);
|
||||
|
||||
@@ -376,7 +376,7 @@ int main(int argc, char **argv)
|
||||
// Start ZeroTier Node
|
||||
// Join Network which contains resources we need to proxy
|
||||
DEBUG_INFO("waiting for libzt to come online");
|
||||
zts_simple_start(path.c_str(), nwid.c_str());
|
||||
zts_startjoin(path.c_str(), nwid.c_str());
|
||||
|
||||
ZeroTier::ZTProxy *proxy = new ZeroTier::ZTProxy(proxy_listen_port, nwid, path, internal_addr, internal_port, dns_nameserver);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user