From 8154331da60ac08b0e2b09ca67008ec4a8c7698b Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Fri, 12 Feb 2010 07:27:26 +0000 Subject: 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. --- Projects/Webserver/Lib/uIPManagement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Projects/Webserver/Lib/uIPManagement.c') diff --git a/Projects/Webserver/Lib/uIPManagement.c b/Projects/Webserver/Lib/uIPManagement.c index ba2a505e95..18e355bdeb 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; -- cgit v1.2.3