uip_ipaddr(&DHCPServerIPAddress, 255, 255, 255, 255);\r
AppState->DHCPClient.Connection = uip_udp_new(&DHCPServerIPAddress, HTONS(DHCPC_SERVER_PORT));\r
\r
- /* If the connection was sucessfully created, bind it to the local DHCP client port */\r
+ /* If the connection was successfully created, bind it to the local DHCP client port */\r
if(AppState->DHCPClient.Connection != NULL)\r
{\r
uip_udp_bind(AppState->DHCPClient.Connection, HTONS(DHCPC_CLIENT_PORT));\r
*/\r
bool DHCPClientApp_GetOption(uint8_t* DHCPOptionList, uint8_t Option, void* Destination)\r
{\r
- /* Look through the incomming DHCP packet's options list for the requested option */\r
+ /* Look through the incoming DHCP packet's options list for the requested option */\r
while (*DHCPOptionList != DHCP_OPTION_END)\r
{\r
/* Check if the current DHCP option in the packet is the one requested */\r
/* Copy request option's data to the destination buffer */\r
memcpy(Destination, &DHCPOptionList[2], DHCPOptionList[1]);\r
\r
- /* Indicate that the requested option data was sucessfully retrieved */\r
+ /* Indicate that the requested option data was successfully retrieved */\r
return true;\r
}\r
\r
DHCPOptionList += (DHCPOptionList[1] + 2);\r
}\r
\r
- /* Requested option not found in the incomming packet's DHCP options list */\r
+ /* Requested option not found in the incoming packet's DHCP options list */\r
return false;\r
}\r
#endif\r