DHCPSRV_service_release and DHCPSRV_service_decline functions are both empty, is this an omission?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

DHCPSRV_service_release and DHCPSRV_service_decline functions are both empty, is this an omission?

跳至解决方案
715 次查看
tonynordstrom12
Contributor I

In the DHCP server module dhcpsrv.c, two of the service functions are empty. Shouldn't there be some processing in there? For example, DHCPSRV_service_release should place the IP address back in the pool.

标签 (1)
0 项奖励
1 解答
521 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Tony:

You are right, upon receipt of a DHCPRELEASE message, the server marks the network address as not allocated and retain a record of the client's initialization  parameters for possible reuse. Upon receipt of a DHCPDECLINE message, the server must mark the network address as not available and should notify the local system adminstrator of a possible configuration problem.

unfortunately, these two functions are not implemented yet, and no plan to implement it in classic MQX 4.x yet. I would suggest you implement it by yourself if it is necessary.

Regards

Daniel

在原帖中查看解决方案

0 项奖励
2 回复数
522 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Tony:

You are right, upon receipt of a DHCPRELEASE message, the server marks the network address as not allocated and retain a record of the client's initialization  parameters for possible reuse. Upon receipt of a DHCPDECLINE message, the server must mark the network address as not available and should notify the local system adminstrator of a possible configuration problem.

unfortunately, these two functions are not implemented yet, and no plan to implement it in classic MQX 4.x yet. I would suggest you implement it by yourself if it is necessary.

Regards

Daniel

0 项奖励
521 次查看
tonynordstrom12
Contributor I

Hi Daniel,

Thanks for your reply. As I suspected, the functions are not implemented yet. I will see if I need those functions and implement them if need be.

Regards

Tony

0 项奖励