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:
1 parent
41ef05a6e5
commit
8154331da6
10 files changed
+54
-52
No files matched your search
@@ -61,7 +61,7 @@ void uIPManagement_Init(void)
|
||||
uip_setethaddr(MACAddress);
|
||||
|
||||
/* DHCP/Server IP Settings Initialization */
|
||||
#if defined(ENABLE_DHCP)
|
||||
#if defined(ENABLE_DHCP_CLIENT)
|
||||
DHCPClientApp_Init();
|
||||
#else
|
||||
uip_ipaddr_t IPAddress, Netmask, GatewayIPAddress;
|
||||
|
||||
Reference in new issue
Block a user