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);