[Top][All Lists]

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

[lwip-devel] [patch #8560] DHCP is not notified of link down events, adm

From: Vlad Lungu
Subject: [lwip-devel] [patch #8560] DHCP is not notified of link down events, admin status remains "up"
Date: Thu, 30 Oct 2014 21:04:27 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36

Follow-up Comment #2, patch #8560 (project lwip):

>From dhcp.c:
"Handle a possible change in the network configuration.
This enters the REBOOTING state to verify that the currently bound address is
still valid."

Link going down is a change in network configuration.

Also, this does not make admin and operational status the same. You can have
operational status 'up', but admin status will be 'down' until a REQUEST
message is ACK-ed (we enter DHCP_BOUND state).

Since the admin status goes 'down' anyway when operational status goes 'up'
(until the client eventually re-binds the address), we might as well do it
early. If this is not the way to do it, I'm open to suggestions (maybe check
link status before calling dhcp_reboot() ?).


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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