Changed dhcp_init() to NULL the client_list (on re-inits).

This commit is contained in:
likewise 2002-11-25 22:36:25 +00:00
parent c73606309f
commit 4619bbc3ea

View File

@ -405,6 +405,10 @@ static void dhcp_handle_ack(struct dhcp_state *state)
void dhcp_init(void) void dhcp_init(void)
{ {
DEBUGF(DHCP_DEBUG, ("dhcp_init()")); DEBUGF(DHCP_DEBUG, ("dhcp_init()"));
/* this would be the proper way to stop all dhcp clients */
/* but we need lwIP to be running at this point */
/* while(client_list) dhcp_stop(client_list); */
client_list = NULL;
} }
/** /**