diff options
| author | Grant Limberg <grant.limberg@zerotier.com> | 2019-01-21 11:18:20 -0800 |
|---|---|---|
| committer | Grant Limberg <grant.limberg@zerotier.com> | 2019-01-21 11:18:20 -0800 |
| commit | d98bdb5643b7de7097526a4767dbc88235e05fc9 (patch) | |
| tree | 676532c23a956a9c1f76e7226a4e98374343d3ca /controller/EmbeddedNetworkController.hpp | |
| parent | b59c4a2106ad17d92c15c086c31d5764a0462c16 (diff) | |
| download | infinitytier-d98bdb5643b7de7097526a4767dbc88235e05fc9.tar.gz infinitytier-d98bdb5643b7de7097526a4767dbc88235e05fc9.zip | |
WIP: Pass listen port down to Postgres
Diffstat (limited to 'controller/EmbeddedNetworkController.hpp')
| -rw-r--r-- | controller/EmbeddedNetworkController.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/controller/EmbeddedNetworkController.hpp b/controller/EmbeddedNetworkController.hpp index c3f121c5..14ee9d04 100644 --- a/controller/EmbeddedNetworkController.hpp +++ b/controller/EmbeddedNetworkController.hpp @@ -59,7 +59,7 @@ public: * @param node Parent node * @param dbPath Database path (file path or database credentials) */ - EmbeddedNetworkController(Node *node,const char *dbPath); + EmbeddedNetworkController(Node *node,const char *dbPath, int listenPort); virtual ~EmbeddedNetworkController(); virtual void init(const Identity &signingId,Sender *sender); @@ -141,6 +141,7 @@ private: }; const int64_t _startTime; + int _listenPort; Node *const _node; std::string _path; Identity _signingId; |
