lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] link down handling in dhcp v1.4.1


From: vinu
Subject: [lwip-users] link down handling in dhcp v1.4.1
Date: Wed, 6 Nov 2019 07:16:49 -0700 (MST)

Hi all,

I have come across an issue related to DHCP and link status. 

The device does not restart the dhcp negotiation whenever the link goes down
and up automatically. Note that I have an interrupt callback for PHY link
up/down. 

How should the dhcp be handled when the link up/down event occurs? I have
seen many posts regarding the same, but i just wanted to make sure that we
are doing this in the correct way. Please help.

I just read that dhcp_network_changed() shall be used in case the lease time
has not expired and dhcp_start shall be used if the dhcp server
changes/reboots. Please correct me if i am wrong.

regards,
Vinu



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]