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?

ソリューションへジャンプ
718件の閲覧回数
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 解決策
524件の閲覧回数
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 返答(返信)
525件の閲覧回数
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 件の賞賛
524件の閲覧回数
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 件の賞賛