Fix LFDB path issue when using with Postgress in DBMirrorSet config

This commit is contained in:
Adam Ierymenko 2019-08-07 11:23:48 -05:00
parent 3ed8e46782
commit f7e8d8f1dd
No known key found for this signature in database
GPG key ID: 1657198823E52A61
3 changed files with 6 additions and 4 deletions

View file

@ -776,7 +776,7 @@ public:
OSUtils::rmDashRf((_homePath + ZT_PATH_SEPARATOR_S "iddb.d").c_str());
// Network controller is now enabled by default for desktop and server
_controller = new EmbeddedNetworkController(_node,_controllerDbPath.c_str(),_ports[0], _mqc);
_controller = new EmbeddedNetworkController(_node,_homePath.c_str(),_controllerDbPath.c_str(),_ports[0], _mqc);
_node->setNetconfMaster((void *)_controller);
// Join existing networks in networks.d