mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-04 05:39:53 +00:00
Changed dhcp_init() to NULL the client_list (on re-inits).
This commit is contained in:
parent
c73606309f
commit
4619bbc3ea
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user