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:
parent
41ef05a6e5
commit
8154331da6
10 changed files with 54 additions and 52 deletions
|
@ -38,15 +38,15 @@
|
|||
#include "TELNETServerApp.h"
|
||||
|
||||
/** Welcome message to send to a TELNET client when a connection is first made. */
|
||||
char PROGMEM WelcomeHeader[] = "********************************************\r\n"
|
||||
"* LUFA uIP Webserver (TELNET) *\r\n"
|
||||
"********************************************\r\n";
|
||||
const char PROGMEM WelcomeHeader[] = "********************************************\r\n"
|
||||
"* LUFA uIP Webserver (TELNET) *\r\n"
|
||||
"********************************************\r\n";
|
||||
|
||||
/** Main TELNET menu, giving the user the list of available commands they may issue */
|
||||
char PROGMEM TELNETMenu[] = "\r\n"
|
||||
" Available Commands:\r\n"
|
||||
" c) List Active TCP Connections\r\n"
|
||||
"\r\nCommand>";
|
||||
const char PROGMEM TELNETMenu[] = "\r\n"
|
||||
" Available Commands:\r\n"
|
||||
" c) List Active TCP Connections\r\n"
|
||||
"\r\nCommand>";
|
||||
|
||||
/** Initialization function for the simple HTTP webserver. */
|
||||
void TELNETServerApp_Init(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue