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.

This commit is contained in:
Dean Camera 2010-02-12 07:27:26 +00:00
parent 41ef05a6e5
commit 8154331da6
10 changed files with 54 additions and 52 deletions

View file

@ -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
{