Browse Source

Minor nwid conversion fix in ztproxy

pull/1/head
Joseph Henry 8 years ago
parent
commit
a49c0aee49
  1. 2
      examples/apps/ztproxy/ztproxy.cpp

2
examples/apps/ztproxy/ztproxy.cpp

@ -374,7 +374,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");
uint64_t nwid = strtoll(nwidstr.c_str(),NULL,16);
uint64_t nwid = strtoull(nwidstr.c_str(),NULL,16);
zts_startjoin(path.c_str(), nwid);
ZeroTier::ZTProxy *proxy = new ZeroTier::ZTProxy(proxy_listen_port, nwidstr, path, internal_addr, internal_port, dns_nameserver);

Loading…
Cancel
Save