Stop dhcpserver from writing to const data.

This commit is contained in:
Johny Mattsson 2015-06-27 12:12:21 +10:00
parent d507060ecf
commit b5c6a5b1c6
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
#include "user_interface.h" #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 u8_t old_xid[4] = {0};
static const uint8_t magic_cookie[4] = {99, 130, 83, 99}; static const uint8_t magic_cookie[4] = {99, 130, 83, 99};
static struct udp_pcb *pcb_dhcps = NULL; static struct udp_pcb *pcb_dhcps = NULL;