OCT 1.增加查询地址池接口

This commit is contained in:
dongwenze 2022-12-08 15:19:44 +08:00
parent 8dbab1019e
commit 1503915535
1 changed files with 0 additions and 3 deletions

View File

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