summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorGrant Limberg <grant.limberg@zerotier.com>2019-01-21 11:18:20 -0800
committerGrant Limberg <grant.limberg@zerotier.com>2019-01-21 11:18:20 -0800
commitd98bdb5643b7de7097526a4767dbc88235e05fc9 (patch)
tree676532c23a956a9c1f76e7226a4e98374343d3ca /service
parentb59c4a2106ad17d92c15c086c31d5764a0462c16 (diff)
downloadinfinitytier-d98bdb5643b7de7097526a4767dbc88235e05fc9.tar.gz
infinitytier-d98bdb5643b7de7097526a4767dbc88235e05fc9.zip
WIP: Pass listen port down to Postgres
Diffstat (limited to 'service')
-rw-r--r--service/OneService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp
index 69bbfeb0..718b54d4 100644
--- a/service/OneService.cpp
+++ b/service/OneService.cpp
@@ -805,7 +805,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());
+ _controller = new EmbeddedNetworkController(_node,_controllerDbPath.c_str(),_ports[0]);
_node->setNetconfMaster((void *)_controller);
// Join existing networks in networks.d