summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/OneService.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp
index 42b4fc00..fc2fba41 100644
--- a/service/OneService.cpp
+++ b/service/OneService.cpp
@@ -912,8 +912,8 @@ std::string OneService::platformDefaultHomePath()
return std::string("/Library/Application Support/ZeroTier/One");
#else
-#ifdef __FreeBSD__
- // FreeBSD likes /var/db instead of /var/lib
+#ifdef __BSD__
+ // BSD likes /var/db instead of /var/lib
return std::string("/var/db/zerotier-one");
#else
// Use /var/lib for Linux and other *nix