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/uip/uipopt.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Projects/Webserver/Lib/uip') diff --git a/Projects/Webserver/Lib/uip/uipopt.h b/Projects/Webserver/Lib/uip/uipopt.h index 8a09c7248..5fca686a2 100644 --- a/Projects/Webserver/Lib/uip/uipopt.h +++ b/Projects/Webserver/Lib/uip/uipopt.h @@ -626,6 +626,8 @@ void uip_log(char *msg); #include #include +#include "timer.h" + typedef uint8_t u8_t; typedef uint16_t u16_t; typedef uint32_t u32_t; @@ -716,7 +718,8 @@ typedef union { struct { - uint8_t CurrentState; + uint8_t CurrentState; + struct timer Timeout; struct { -- cgit v1.2.3