Browse Source

Stop dhcpserver from writing to const data.

Johny Mattsson 9 years ago
parent
commit
b5c6a5b1c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/lwip/app/dhcpserver.c

+ 1 - 1
app/lwip/app/dhcpserver.c

@@ -13,7 +13,7 @@
 #include "user_interface.h"
 
 ////////////////////////////////////////////////////////////////////////////////////
-static const uint8_t xid[4] = {0xad, 0xde, 0x12, 0x23};
+static uint8_t xid[4] = {0xad, 0xde, 0x12, 0x23};
 static u8_t old_xid[4] = {0};
 static const uint8_t magic_cookie[4] = {99, 130, 83, 99};
 static struct udp_pcb *pcb_dhcps = NULL;