diff options
author | Dean Camera <[email protected]> | 2010-02-12 07:27:26 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2010-02-12 07:27:26 +0000 |
commit | 8154331da60ac08b0e2b09ca67008ec4a8c7698b (patch) | |
tree | 4eb3824afd288039b995f6f607bed6f0129d74ab /Projects/Webserver/Lib/uip/uipopt.h | |
parent | 41ef05a6e559a10134967e8a899aab78c556b645 (diff) | |
download | qmk_firmware-8154331da60ac08b0e2b09ca67008ec4a8c7698b.tar.gz qmk_firmware-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/uipopt.h')
-rw-r--r-- | Projects/Webserver/Lib/uip/uipopt.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Projects/Webserver/Lib/uip/uipopt.h b/Projects/Webserver/Lib/uip/uipopt.h index 8a09c7248c..5fca686a24 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 { |