From 7c4d8aaf58c8e7765afb2adf41a0eb78fe269856 Mon Sep 17 00:00:00 2001 From: huangxin Date: Tue, 22 Nov 2022 16:13:42 +0800 Subject: [PATCH] =?UTF-8?q?OCT=201.=20=E4=B8=B4=E6=97=B6=E5=B1=8F=E8=94=BD?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- srcs/open_dhcp/query.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcs/open_dhcp/query.cpp b/srcs/open_dhcp/query.cpp index 39ac641..431c6d2 100644 --- a/srcs/open_dhcp/query.cpp +++ b/srcs/open_dhcp/query.cpp @@ -164,7 +164,7 @@ static void sendAllLists(data19 *req) { req->bytes = (int)(fp - req->dp); } - +#if 0 static void expand_range_set(data19 *req, const char *pRequest) { char logBuff[512]; @@ -267,6 +267,7 @@ static void expand_range_set(data19 *req, const char *pRequest) { req->bytes = (int)(fp - req->dp); } +#endif #pragma clang diagnostic push #pragma ide diagnostic ignored "cert-err34-c" @@ -507,7 +508,7 @@ static void opendhcp_http_expand_rangeset(http_request *request, hw_http_respons hw_set_response_header(response, &content_type_name, &content_type_value); SETSTRING(status_code, HTTP_STATUS_200); - expand_range_set(req, request->body->value); + //expand_range_set(req, request->body->value); SETSTRING(body, req->dp); hw_set_body(response, &body); hw_set_response_status_code(response, &status_code);