From 669c86be2b871de48e6cd40f938b1a1dd1c5a5b1 Mon Sep 17 00:00:00 2001 From: Trihedraf Date: Tue, 4 May 2021 17:32:34 -0700 Subject: [PATCH] put ZeroTier files in subdir of save-path --- Source/dvlnet/zerotier_native.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }