Minor nwid conversion fix in ztproxy
This commit is contained in:
@@ -374,7 +374,7 @@ int main(int argc, char **argv)
|
|||||||
// Start ZeroTier Node
|
// Start ZeroTier Node
|
||||||
// Join Network which contains resources we need to proxy
|
// Join Network which contains resources we need to proxy
|
||||||
DEBUG_INFO("waiting for libzt to come online");
|
DEBUG_INFO("waiting for libzt to come online");
|
||||||
uint64_t nwid = strtoll(nwidstr.c_str(),NULL,16);
|
uint64_t nwid = strtoull(nwidstr.c_str(),NULL,16);
|
||||||
zts_startjoin(path.c_str(), nwid);
|
zts_startjoin(path.c_str(), nwid);
|
||||||
|
|
||||||
ZeroTier::ZTProxy *proxy = new ZeroTier::ZTProxy(proxy_listen_port, nwidstr, path, internal_addr, internal_port, dns_nameserver);
|
ZeroTier::ZTProxy *proxy = new ZeroTier::ZTProxy(proxy_listen_port, nwidstr, path, internal_addr, internal_port, dns_nameserver);
|
||||||
|
|||||||
Reference in New Issue
Block a user