/[lwip]/lwip/src/core/dhcp.c
ViewVC logotype

Diff of /lwip/src/core/dhcp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by likewise, Fri Nov 8 15:57:49 2002 UTC revision 1.2 by likewise, Mon Nov 11 14:40:03 2002 UTC
# Line 36  Line 36 
36   * 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
37   * RFC 2131 and RFC 2132.   * RFC 2131 and RFC 2132.
38   *   *
39   * DONE:   * KNOWN BUG:
40   * - 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  
41   * TODO:   * TODO:
42   * - Add JavaDoc style documentation (API, internals).   * - Add JavaDoc style documentation (API, internals).
43   * - 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  
44   * - Support for interfaces other than Ethernet (SLIP, PPP, ...)   * - Support for interfaces other than Ethernet (SLIP, PPP, ...)
45   * - ...   * - ...
46   *   *
# Line 292  static void dhcp_timeout(struct dhcp_sta Line 286  static void dhcp_timeout(struct dhcp_sta
286                  }                  }
287      else      else
288                  {                  {
       struct netif *netif = state->netif;  
289              DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REQUESTING, releasing, restarting"));              DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REQUESTING, releasing, restarting"));
290        dhcp_release(state);        dhcp_release(state);
291        dhcp_discover(state);        dhcp_discover(state);
# Line 326  static void dhcp_timeout(struct dhcp_sta Line 319  static void dhcp_timeout(struct dhcp_sta
319                  }                  }
320            else            else
321                  {                  {
       struct netif *netif = state->netif;  
322              DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REBINDING, release, restart"));              DEBUGF(DHCP_DEBUG, ("dhcp_timeout(): REBINDING, release, restart"));
323        dhcp_release(state);        dhcp_release(state);
324        dhcp_discover(state);        dhcp_discover(state);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26