docs, and make RethinkDB controller DB driver upsert into the Controller DB and also update the hostname field.
This commit is contained in:
parent
ada611d597
commit
8d9464c414
8 changed files with 60 additions and 15 deletions
|
@ -27,9 +27,10 @@ using json = nlohmann::json;
|
|||
|
||||
namespace ZeroTier {
|
||||
|
||||
DB::DB(EmbeddedNetworkController *const nc,const Address &myAddress,const char *path) :
|
||||
DB::DB(EmbeddedNetworkController *const nc,const Identity &myId,const char *path) :
|
||||
_controller(nc),
|
||||
_myAddress(myAddress),
|
||||
_myId(myId),
|
||||
_myAddress(myId.address()),
|
||||
_path((path) ? path : "")
|
||||
{
|
||||
char tmp[32];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue