From b5c6a5b1c6a5734832a95a458874aac7fb8c41da Mon Sep 17 00:00:00 2001 From: Johny Mattsson Date: Sat, 27 Jun 2015 12:12:21 +1000 Subject: [PATCH] Stop dhcpserver from writing to const data. --- app/lwip/app/dhcpserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lwip/app/dhcpserver.c b/app/lwip/app/dhcpserver.c index 81b9a3d4..410f14c9 100644 --- a/app/lwip/app/dhcpserver.c +++ b/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;