Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
b5c6a5b1
Commit
b5c6a5b1
authored
Jun 27, 2015
by
Johny Mattsson
Browse files
Stop dhcpserver from writing to const data.
parent
d507060e
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/lwip/app/dhcpserver.c
View file @
b5c6a5b1
...
@@ -13,7 +13,7 @@
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment