/[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.2 by likewise, Mon Nov 11 14:40:03 2002 UTC revision 1.3 by likewise, Fri Nov 15 12:44:50 2002 UTC
# Line 352  static void dhcp_t2_timeout(struct dhcp_ Line 352  static void dhcp_t2_timeout(struct dhcp_
352  static void dhcp_handle_ack(struct dhcp_state *state)  static void dhcp_handle_ack(struct dhcp_state *state)
353  {  {
354    u8_t *option_ptr;    u8_t *option_ptr;
   state->offered_t0_lease;  
   state->offered_t1_renew;  
   state->offered_t2_rebind;  
355    state->offered_sn_mask.addr = 0;    state->offered_sn_mask.addr = 0;
356    state->offered_gw_addr.addr = 0;    state->offered_gw_addr.addr = 0;
357    state->offered_bc_addr.addr = 0;    state->offered_bc_addr.addr = 0;
# Line 1279  struct dhcp_state *dhcp_find_client(stru Line 1276  struct dhcp_state *dhcp_find_client(stru
1276  {  {
1277          struct dhcp_state *state = NULL;          struct dhcp_state *state = NULL;
1278          struct dhcp_state *list_state = client_list;          struct dhcp_state *list_state = client_list;
         err_t result = ERR_OK;  
1279    
1280          DEBUGF(DHCP_DEBUG, ("dhcp_find_client()"));          DEBUGF(DHCP_DEBUG, ("dhcp_find_client()"));
1281    while ((state == NULL) && (list_state != NULL))    while ((state == NULL) && (list_state != NULL))
# Line 1306  struct dhcp_state *dhcp_find_client(stru Line 1302  struct dhcp_state *dhcp_find_client(stru
1302                  }                  }
1303          }          }
1304          return state;          return state;
 }  
1305    }

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

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