From 15039155358e43fff4ae4b29ea19452fbe79836a Mon Sep 17 00:00:00 2001 From: dongwenze Date: Thu, 8 Dec 2022 15:19:44 +0800 Subject: [PATCH] =?UTF-8?q?OCT=201.=E5=A2=9E=E5=8A=A0=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E6=B1=A0=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- srcs/open_dhcp/query.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/srcs/open_dhcp/query.cpp b/srcs/open_dhcp/query.cpp index e4d0249..3684d93 100644 --- a/srcs/open_dhcp/query.cpp +++ b/srcs/open_dhcp/query.cpp @@ -563,8 +563,6 @@ static int query_dhcpd_rangeset(data19 *req){ opPointer++; memcpy(op.value, opPointer, op.size); - printf("***op->addr=%X***\n", cfig.dhcpRanges[rangeInd].options); - printf("op.opt_code=%d\n", op.opt_code); if(op.opt_code == DHCP_OPTION_DNS){ dnsSize = op.size; do { @@ -587,7 +585,6 @@ static int query_dhcpd_rangeset(data19 *req){ cJSON_AddStringToObject(pRangeItem, "gateway", gateway); }else if(op.opt_code == DHCP_OPTION_IPADDRLEASE){ - printf("***flag!!!***\n"); lease = fUInt(op.value); cJSON_AddNumberToObject(pRangeItem, "lease", lease);