summaryrefslogtreecommitdiff
path: root/controller/FileDB.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-12-07 13:39:25 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-12-07 13:39:25 -0800
commit8d9464c4140e5882b0fc9276388401514f29e62a (patch)
tree3d8429fb4a40793649ee77367545dfd1f18544a5 /controller/FileDB.cpp
parentada611d597c935f95a807db8ac7bf01e386937fa (diff)
downloadinfinitytier-8d9464c4140e5882b0fc9276388401514f29e62a.tar.gz
infinitytier-8d9464c4140e5882b0fc9276388401514f29e62a.zip
docs, and make RethinkDB controller DB driver upsert into the Controller DB and also update the hostname field.
Diffstat (limited to 'controller/FileDB.cpp')
-rw-r--r--controller/FileDB.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/FileDB.cpp b/controller/FileDB.cpp
index 3f8564fa..6b02f836 100644
--- a/controller/FileDB.cpp
+++ b/controller/FileDB.cpp
@@ -21,8 +21,8 @@
namespace ZeroTier
{
-FileDB::FileDB(EmbeddedNetworkController *const nc,const Address &myAddress,const char *path) :
- DB(nc,myAddress,path),
+FileDB::FileDB(EmbeddedNetworkController *const nc,const Identity &myId,const char *path) :
+ DB(nc,myId,path),
_networksPath(_path + ZT_PATH_SEPARATOR_S + "network")
{
OSUtils::mkdir(_path.c_str());