mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Remove network/controller -- we will do this in Ruby instead since it will be part of the whole OnePoint project anyway.
This commit is contained in:
parent
d2503172d8
commit
c301d8e438
1 changed files with 25 additions and 29 deletions
|
@ -313,9 +313,6 @@ unsigned int ControlPlane::handleRequest(
|
|||
responseBody = "{}"; // TODO
|
||||
scode = 200;
|
||||
} else if (ps[0] == "network") {
|
||||
if ((ps.size() > 1)&&(ps[1] == "controller")) {
|
||||
// TODO
|
||||
} else {
|
||||
ZT1_VirtualNetworkList *nws = _node->networks();
|
||||
if (nws) {
|
||||
if (ps.size() == 1) {
|
||||
|
@ -343,7 +340,6 @@ unsigned int ControlPlane::handleRequest(
|
|||
} // else 404
|
||||
_node->freeQueryResult((void *)nws);
|
||||
} else scode = 500;
|
||||
}
|
||||
} else if (ps[0] == "peer") {
|
||||
ZT1_PeerList *pl = _node->peers();
|
||||
if (pl) {
|
||||
|
|
Loading…
Add table
Reference in a new issue