aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/Lib/DHCPApp.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-01-31 14:18:03 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-01-31 14:18:03 +0000
commitbb1a036f097602a70ce219915db28dea616b76a8 (patch)
tree550409f4053fb7bcb4f7cbfebf02d69545447d7a /Projects/Webserver/Lib/DHCPApp.c
parent331e8dece66e632ef3f91b052674948fd74e62a1 (diff)
downloadlufa-bb1a036f097602a70ce219915db28dea616b76a8.tar.gz
lufa-bb1a036f097602a70ce219915db28dea616b76a8.tar.bz2
lufa-bb1a036f097602a70ce219915db28dea616b76a8.zip
Clean up HTTP webserver code in the Webserver project, so that it follows the uIP application structure guidelines and uses cleaner state machine based code.
Diffstat (limited to 'Projects/Webserver/Lib/DHCPApp.c')
-rw-r--r--Projects/Webserver/Lib/DHCPApp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/Webserver/Lib/DHCPApp.c b/Projects/Webserver/Lib/DHCPApp.c
index fe6c6f457..a687586ad 100644
--- a/Projects/Webserver/Lib/DHCPApp.c
+++ b/Projects/Webserver/Lib/DHCPApp.c
@@ -86,7 +86,7 @@ void DHCPApp_Callback(void)
RequiredOptionList);
/* Send the DHCP DISCOVER packet */
- uip_send(AppData, AppDataSize);
+ uip_udp_send(AppDataSize);
/* Reset the timeout timer, progress to next state */
timer_reset(&DHCPTimer);
@@ -132,7 +132,7 @@ void DHCPApp_Callback(void)
&AppState->DHCPOffer_Data.ServerIP);
/* Send the DHCP REQUEST packet */
- uip_send(AppData, AppDataSize);
+ uip_udp_send(AppDataSize);
/* Reset the timeout timer, progress to next state */
timer_reset(&DHCPTimer);