projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AVRISP programmer project now has a more robust timeout system, allowing for a doubli...
[pub/USBasp.git]
/
Projects
/
Webserver
/
Lib
/
DHCPClientApp.c
diff --git
a/Projects/Webserver/Lib/DHCPClientApp.c
b/Projects/Webserver/Lib/DHCPClientApp.c
index
09bae73
..
cf51273
100644
(file)
--- a/
Projects/Webserver/Lib/DHCPClientApp.c
+++ b/
Projects/Webserver/Lib/DHCPClientApp.c
@@
-41,12
+41,8
@@
/** Initialization function for the DHCP client. */
\r
void DHCPClientApp_Init(void)
\r
{
\r
/** Initialization function for the DHCP client. */
\r
void DHCPClientApp_Init(void)
\r
{
\r
- /* Create an IP address to the broadcast network address */
\r
- uip_ipaddr_t DHCPServerIPAddress;
\r
- uip_ipaddr(&DHCPServerIPAddress, 255, 255, 255, 255);
\r
-
\r
/* Create a new UDP connection to the DHCP server port for the DHCP solicitation */
\r
/* Create a new UDP connection to the DHCP server port for the DHCP solicitation */
\r
- struct uip_udp_conn* Connection = uip_udp_new(&
DHCPServerIPAddress
, HTONS(DHCPC_SERVER_PORT));
\r
+ struct uip_udp_conn* Connection = uip_udp_new(&
uip_broadcast_addr
, HTONS(DHCPC_SERVER_PORT));
\r
\r
/* If the connection was successfully created, bind it to the local DHCP client port */
\r
if (Connection != NULL)
\r
\r
/* If the connection was successfully created, bind it to the local DHCP client port */
\r
if (Connection != NULL)
\r