Prevent mem_free (leave struct dhcp allocated on dhcp_stop) to prevent calling mem_malloc when restarting dhcp later

This commit is contained in:
goldsimon
2010-02-01 20:20:38 +00:00
parent c6f7a34abe
commit 81c5d9e983
2 changed files with 9 additions and 10 deletions

View File

@@ -152,6 +152,7 @@ void dhcp_fine_tmr(void);
#define DHCP_SERVER_PORT 67
/** DHCP client states */
#define DHCP_OFF 0
#define DHCP_REQUESTING 1
#define DHCP_INIT 2
#define DHCP_REBOOTING 3
@@ -164,7 +165,6 @@ void dhcp_fine_tmr(void);
#define DHCP_BOUND 10
/** not yet implemented #define DHCP_RELEASING 11 */
#define DHCP_BACKING_OFF 12
#define DHCP_OFF 13
/** AUTOIP cooperatation flags */
#define DHCP_AUTOIP_COOP_STATE_OFF 0