Skip to content

Commit

Permalink
Merge pull request #2229 from zerotier/tl-add-homedir
Browse files Browse the repository at this point in the history
Add homeDir to info json
  • Loading branch information
joseph-henry authored Mar 1, 2024
2 parents 1dff0c6 + 7fb3711 commit 024649c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/OneService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2041,6 +2041,7 @@ class OneServiceImpl : public OneService
settings["primaryPort"] = OSUtils::jsonInt(settings["primaryPort"],(uint64_t)_primaryPort) & 0xffff;
settings["secondaryPort"] = OSUtils::jsonInt(settings["secondaryPort"],(uint64_t)_ports[1]) & 0xffff;
settings["tertiaryPort"] = OSUtils::jsonInt(settings["tertiaryPort"],(uint64_t)_tertiaryPort) & 0xffff;
settings["homeDir"] = _homePath;
// Enumerate all local address/port pairs that this node is listening on
std::vector<InetAddress> boundAddrs(_binder.allBoundLocalInterfaceAddresses());
auto boundAddrArray = json::array();
Expand Down

0 comments on commit 024649c

Please sign in to comment.