From 9b76f5bf53a701c6bba3de6b9f1a6623bb2f4c81 Mon Sep 17 00:00:00 2001 From: likewise Date: Mon, 11 Nov 2002 14:40:03 +0000 Subject: [PATCH] Fixes all issues that showed up after the first commit. --- src/core/dhcp.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/core/dhcp.c b/src/core/dhcp.c index 89458329..0f124c95 100644 --- a/src/core/dhcp.c +++ b/src/core/dhcp.c @@ -36,17 +36,11 @@ * lwIP 0.5.3 which has the new "etharp" module. It aims to conform with * RFC 2131 and RFC 2132. * - * DONE: - * - Obtaining renewing, rebinding a lease. - * - 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 + * KNOWN BUG: + * - This client will fail on servers using file/sname field overloading * TODO: * - 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, ...) * - ... * @@ -292,7 +286,6 @@ static void dhcp_timeout(struct dhcp_state *state) } else { - struct netif *netif = state->netif; DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REQUESTING, releasing, restarting")); dhcp_release(state); dhcp_discover(state); @@ -326,7 +319,6 @@ static void dhcp_timeout(struct dhcp_state *state) } else { - struct netif *netif = state->netif; DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REBINDING, release, restart")); dhcp_release(state); dhcp_discover(state);