summaryrefslogtreecommitdiff
path: root/net/zerotier/files/patch-controller_EmbeddedNetworkController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net/zerotier/files/patch-controller_EmbeddedNetworkController.cpp')
-rw-r--r--net/zerotier/files/patch-controller_EmbeddedNetworkController.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/net/zerotier/files/patch-controller_EmbeddedNetworkController.cpp b/net/zerotier/files/patch-controller_EmbeddedNetworkController.cpp
deleted file mode 100644
index 1f037774fcfb..000000000000
--- a/net/zerotier/files/patch-controller_EmbeddedNetworkController.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
---- controller/EmbeddedNetworkController.cpp.orig 2023-09-14 19:09:26 UTC
-+++ controller/EmbeddedNetworkController.cpp
-@@ -874,6 +874,7 @@ void EmbeddedNetworkController::configureHTTPControlPl
- std::string memberListPath = "/controller/network/([0-9a-fA-F]{16})/member";
- std::string memberPath = "/controller/network/([0-9a-fA-F]{16})/member/([0-9a-fA-F]{10})";
-
-+
- auto controllerGet = [&, setContent](const httplib::Request &req, httplib::Response &res) {
- char tmp[4096];
- const bool dbOk = _db.isReady();
-@@ -885,11 +886,11 @@ void EmbeddedNetworkController::configureHTTPControlPl
- (unsigned long long)OSUtils::now(),
- dbOk ? "true" : "false");
-
-- if (!dbOk) {
-- res.status = 503;
-- }
-+ if (!dbOk) {
-+ res.status = 503;
-+ }
-
-- setContent(req, res, tmp);
-+ setContent(req, res, tmp);
- };
- s.Get(controllerPath, controllerGet);
- sv6.Get(controllerPath, controllerGet);