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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user