Fixes all issues that showed up after the first commit.

This commit is contained in:
likewise 2002-11-11 14:40:03 +00:00
parent e41134bbbe
commit 9b76f5bf53

View File

@ -36,17 +36,11 @@
* lwIP 0.5.3 which has the new "etharp" module. It aims to conform with * lwIP 0.5.3 which has the new "etharp" module. It aims to conform with
* RFC 2131 and RFC 2132. * RFC 2131 and RFC 2132.
* *
* DONE: * KNOWN BUG:
* - Obtaining renewing, rebinding a lease. * - This client will fail on servers using file/sname field overloading
* - ARP check on the offered address, and address declines on in-use
* addresses. (Can be disabled).
* - Reobtaining a lease
* - Concurrent multiple interface configuration and lease maintenance
* - A periodical polling timer method and a callback timer approach
* TODO: * TODO:
* - Add JavaDoc style documentation (API, internals). * - Add JavaDoc style documentation (API, internals).
* - this client will fail on servers using file/sname field overloading * - Make the unfold routine smarter to handle this
* - make the unfold routine smarter to handle this
* - Support for interfaces other than Ethernet (SLIP, PPP, ...) * - Support for interfaces other than Ethernet (SLIP, PPP, ...)
* - ... * - ...
* *
@ -292,7 +286,6 @@ static void dhcp_timeout(struct dhcp_state *state)
} }
else else
{ {
struct netif *netif = state->netif;
DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REQUESTING, releasing, restarting")); DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REQUESTING, releasing, restarting"));
dhcp_release(state); dhcp_release(state);
dhcp_discover(state); dhcp_discover(state);
@ -326,7 +319,6 @@ static void dhcp_timeout(struct dhcp_state *state)
} }
else else
{ {
struct netif *netif = state->netif;
DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REBINDING, release, restart")); DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REBINDING, release, restart"));
dhcp_release(state); dhcp_release(state);
dhcp_discover(state); dhcp_discover(state);