X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/15f84bb8f5b910de40f081ee5e8ed847c592ea17..67cb070810bd3122491fb6c1c1bf921bf89bde31:/Projects/Webserver/Lib/uIPManagement.c?ds=sidebyside diff --git a/Projects/Webserver/Lib/uIPManagement.c b/Projects/Webserver/Lib/uIPManagement.c index c7773c455..18e355bde 100644 --- a/Projects/Webserver/Lib/uIPManagement.c +++ b/Projects/Webserver/Lib/uIPManagement.c @@ -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; @@ -212,7 +212,7 @@ static void uIPManagement_ManageConnections(void) } } - #if defined(ENABLE_DHCP) + #if defined(ENABLE_DHCP_CLIENT) for (uint8_t i = 0; i < UIP_UDP_CONNS; i++) { /* Run periodic connection management for each UDP connection */