aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/Lib/uip
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-02-12 07:27:26 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-02-12 07:27:26 +0000
commit8154331da60ac08b0e2b09ca67008ec4a8c7698b (patch)
tree4eb3824afd288039b995f6f607bed6f0129d74ab /Projects/Webserver/Lib/uip
parent41ef05a6e559a10134967e8a899aab78c556b645 (diff)
downloadlufa-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/uip')
-rw-r--r--Projects/Webserver/Lib/uip/uipopt.h5
1 files changed, 4 insertions, 1 deletions
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 <stdbool.h>
#include <stdint.h>
+#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
{