Clean up HTTP webserver code in the Webserver project, so that it follows the uIP...
[pub/USBasp.git] / Projects / Webserver / Lib / DHCPApp.c
index fe6c6f4..a687586 100644 (file)
@@ -86,7 +86,7 @@ void DHCPApp_Callback(void)
                                                         RequiredOptionList);                   \r
                        \r
                        /* Send the DHCP DISCOVER packet */\r
-                       uip_send(AppData, AppDataSize);\r
+                       uip_udp_send(AppDataSize);\r
 \r
                        /* Reset the timeout timer, progress to next state */\r
                        timer_reset(&DHCPTimer);\r
@@ -132,7 +132,7 @@ void DHCPApp_Callback(void)
                                                         &AppState->DHCPOffer_Data.ServerIP);\r
 \r
                        /* Send the DHCP REQUEST packet */\r
-                       uip_send(AppData, AppDataSize);\r
+                       uip_udp_send(AppDataSize);\r
                        \r
                        /* Reset the timeout timer, progress to next state */\r
                        timer_reset(&DHCPTimer);\r