projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix invalid DHCP server socket creation in the Webserver project.
[pub/USBasp.git]
/
Projects
/
Webserver
/
Lib
/
DHCPServerApp.c
diff --git
a/Projects/Webserver/Lib/DHCPServerApp.c
b/Projects/Webserver/Lib/DHCPServerApp.c
index
22bd6ac
..
49bbde4
100644
(file)
--- a/
Projects/Webserver/Lib/DHCPServerApp.c
+++ b/
Projects/Webserver/Lib/DHCPServerApp.c
@@
-50,7
+50,7
@@
void DHCPServerApp_Init(void)
uip_listen(HTONS(DHCP_SERVER_PORT));
/* Create a new UDP connection to the DHCP server port for the DHCP solicitation */
uip_listen(HTONS(DHCP_SERVER_PORT));
/* Create a new UDP connection to the DHCP server port for the DHCP solicitation */
-
struct uip_udp_conn*
BroadcastConnection = uip_udp_new(&uip_broadcast_addr, HTONS(DHCP_CLIENT_PORT));
+ BroadcastConnection = uip_udp_new(&uip_broadcast_addr, HTONS(DHCP_CLIENT_PORT));
/* If the connection was successfully created, bind it to the local DHCP client port */
if (BroadcastConnection != NULL)
/* If the connection was successfully created, bind it to the local DHCP client port */
if (BroadcastConnection != NULL)