mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
1.8.6 with a UI non-responsiveness fix.
This commit is contained in:
parent
c341bf6d8c
commit
567969d33c
3 changed files with 27 additions and 27 deletions
|
@ -1,12 +1,18 @@
|
||||||
ZeroTier Release Notes
|
ZeroTier Release Notes
|
||||||
======
|
======
|
||||||
|
|
||||||
|
# 2022-03-04 -- Version 1.8.6
|
||||||
|
|
||||||
|
* Fixed an issue that could cause the UI to be non-responsive if not joined to any networks.
|
||||||
|
* Fix dependency issues in Debian and RedHat packages for some distributions (Fedora, Mint).
|
||||||
|
|
||||||
# 2022-02-22 -- Version 1.8.5
|
# 2022-02-22 -- Version 1.8.5
|
||||||
|
|
||||||
* Plumbing under the hood for endpoint device SSO support.
|
* Plumbing under the hood for endpoint device SSO support.
|
||||||
* Fix in LinuxEthernetTap to tap device support on very old (2.6) Linux kernels.
|
* Fix in LinuxEthernetTap to tap device support on very old (2.6) Linux kernels.
|
||||||
* Fix an issue that could cause self-hosted roots ("moons") to fail to assist peers in making direct links. (GitHub issue #1512)
|
* Fix an issue that could cause self-hosted roots ("moons") to fail to assist peers in making direct links. (GitHub issue #1512)
|
||||||
* Merge a series of changes by Joseph Henry (of ZeroTier) that should fix some edge cases where ZeroTier would "forget" valid paths.
|
* Merge a series of changes by Joseph Henry (of ZeroTier) that should fix some edge cases where ZeroTier would "forget" valid paths.
|
||||||
|
* Minor multipath improvements for automatic path negotiation.
|
||||||
|
|
||||||
# 2021-11-30 -- Version 1.8.4
|
# 2021-11-30 -- Version 1.8.4
|
||||||
|
|
||||||
|
|
|
@ -1579,37 +1579,31 @@ public:
|
||||||
}
|
}
|
||||||
} else if (ps[0] == "network") {
|
} else if (ps[0] == "network") {
|
||||||
Mutex::Lock _l(_nets_m);
|
Mutex::Lock _l(_nets_m);
|
||||||
if (!_nets.empty()) {
|
if (ps.size() == 1) {
|
||||||
if (ps.size() == 1) {
|
// Return [array] of all networks
|
||||||
// Return [array] of all networks
|
|
||||||
|
|
||||||
res = nlohmann::json::array();
|
res = nlohmann::json::array();
|
||||||
|
|
||||||
for (auto it = _nets.begin(); it != _nets.end(); ++it) {
|
|
||||||
NetworkState &ns = it->second;
|
|
||||||
nlohmann::json nj;
|
|
||||||
_networkToJson(nj, ns);
|
|
||||||
res.push_back(nj);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
for (auto it = _nets.begin(); it != _nets.end(); ++it) {
|
||||||
|
NetworkState &ns = it->second;
|
||||||
|
nlohmann::json nj;
|
||||||
|
_networkToJson(nj, ns);
|
||||||
|
res.push_back(nj);
|
||||||
|
}
|
||||||
|
|
||||||
|
scode = 200;
|
||||||
|
} else if (ps.size() == 2) {
|
||||||
|
// Return a single network by ID or 404 if not found
|
||||||
|
|
||||||
|
const uint64_t wantnw = Utils::hexStrToU64(ps[1].c_str());
|
||||||
|
if (_nets.find(wantnw) != _nets.end()) {
|
||||||
|
res = json::object();
|
||||||
|
NetworkState& ns = _nets[wantnw];
|
||||||
|
_networkToJson(res, ns);
|
||||||
scode = 200;
|
scode = 200;
|
||||||
} else if (ps.size() == 2) {
|
|
||||||
// Return a single network by ID or 404 if not found
|
|
||||||
|
|
||||||
const uint64_t wantnw = Utils::hexStrToU64(ps[1].c_str());
|
|
||||||
if (_nets.find(wantnw) != _nets.end()) {
|
|
||||||
res = json::object();
|
|
||||||
NetworkState& ns = _nets[wantnw];
|
|
||||||
_networkToJson(res, ns);
|
|
||||||
scode = 200;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
fprintf(stderr, "not found\n");
|
|
||||||
scode = 404;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "_nets is empty??\n");
|
scode = 404;
|
||||||
scode = 500;
|
|
||||||
}
|
}
|
||||||
} else if (ps[0] == "peer") {
|
} else if (ps[0] == "peer") {
|
||||||
ZT_PeerList *pl = _node->peers();
|
ZT_PeerList *pl = _node->peers();
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
/**
|
/**
|
||||||
* Revision
|
* Revision
|
||||||
*/
|
*/
|
||||||
#define ZEROTIER_ONE_VERSION_REVISION 5
|
#define ZEROTIER_ONE_VERSION_REVISION 6
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Build version
|
* Build version
|
||||||
|
|
Loading…
Add table
Reference in a new issue