diff options
| author | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-12 07:27:26 +0000 | 
|---|---|---|
| committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-12 07:27:26 +0000 | 
| commit | 8154331da60ac08b0e2b09ca67008ec4a8c7698b (patch) | |
| tree | 4eb3824afd288039b995f6f607bed6f0129d74ab /Projects/Webserver/Lib/uIPManagement.c | |
| parent | 41ef05a6e559a10134967e8a899aab78c556b645 (diff) | |
| download | lufa-8154331da60ac08b0e2b09ca67008ec4a8c7698b.tar.gz lufa-8154331da60ac08b0e2b09ca67008ec4a8c7698b.tar.bz2 lufa-8154331da60ac08b0e2b09ca67008ec4a8c7698b.zip | |
Move DHCP negotiation timer into the DHCP connection application state structure, so that each connection gets its own timeout counter (only one connection currently used, but this way is more correct). Add const correctness to static data in the TELNETServerApp.c and HTTPServerApp.c files.
Diffstat (limited to 'Projects/Webserver/Lib/uIPManagement.c')
| -rw-r--r-- | Projects/Webserver/Lib/uIPManagement.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Projects/Webserver/Lib/uIPManagement.c b/Projects/Webserver/Lib/uIPManagement.c index ba2a505e9..18e355bde 100644 --- a/Projects/Webserver/Lib/uIPManagement.c +++ b/Projects/Webserver/Lib/uIPManagement.c @@ -61,7 +61,7 @@ void uIPManagement_Init(void)  	uip_setethaddr(MACAddress);
  	/* DHCP/Server IP Settings Initialization */
 -	#if defined(ENABLE_DHCP)
 +	#if defined(ENABLE_DHCP_CLIENT)
  	DHCPClientApp_Init();
  	#else
  	uip_ipaddr_t IPAddress, Netmask, GatewayIPAddress;
 | 
