Fix invalid DHCP server socket creation in the Webserver project.
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 9 Dec 2018 03:08:33 +0000 (14:08 +1100)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 9 Dec 2018 03:08:35 +0000 (14:08 +1100)
LUFA/DoxygenPages/ChangeLog.txt
Projects/Webserver/Lib/DHCPServerApp.c

index ebb8150..4f2ae77 100644 (file)
@@ -37,6 +37,7 @@
   *   - Fixed bootloaders accepting flash writes to the bootloader region (thanks to NicoHood)
   *   - Fixed bootloaders incorrectly checking the BOOTRST fuse on start (thanks to Braden Kell)
   *   - Fixed void pointer arithmetic in the low level RNDIS demo protocol decoders
+  *   - Fixed invalid DHCP server socket creation in the Webserver project
   *
   *  \section Sec_ChangeLog170418 Version 170418
   *  <b>New:</b>
index 22bd6ac..49bbde4 100644 (file)
@@ -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 */
-       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)