diff --git a/Source/dvlnet/zerotier_native.cpp b/Source/dvlnet/zerotier_native.cpp index 66a8001b0..17e3b6c24 100644 --- a/Source/dvlnet/zerotier_native.cpp +++ b/Source/dvlnet/zerotier_native.cpp @@ -64,7 +64,8 @@ void zerotier_network_start() { if (zt_started) return; - zts_start(paths::PrefPath().c_str(), (void (*)(void *))Callback, 0); + std::string ztpath = paths::PrefPath() + "zerotier"; + zts_start(ztpath.c_str(), (void (*)(void *))Callback, 0); std::atexit(zerotier_network_stop); }