mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
Don't mark arrays as const since they are modified by the test
This commit is contained in:
parent
ef6ec9de01
commit
ad66b2bf13
@ -557,7 +557,7 @@ END_TEST
|
|||||||
*/
|
*/
|
||||||
START_TEST(test_dhcp_relayed)
|
START_TEST(test_dhcp_relayed)
|
||||||
{
|
{
|
||||||
const u8_t relay_offer[] = {
|
u8_t relay_offer[] = {
|
||||||
0x00, 0x23, 0xc1, 0xde, 0xd0, 0x0d,
|
0x00, 0x23, 0xc1, 0xde, 0xd0, 0x0d,
|
||||||
0x00, 0x22, 0x93, 0x5a, 0xf7, 0x60,
|
0x00, 0x22, 0x93, 0x5a, 0xf7, 0x60,
|
||||||
0x08, 0x00, 0x45, 0x00,
|
0x08, 0x00, 0x45, 0x00,
|
||||||
@ -602,7 +602,7 @@ START_TEST(test_dhcp_relayed)
|
|||||||
0x04, 0x0a, 0xb5, 0x04, 0x01, 0xff
|
0x04, 0x0a, 0xb5, 0x04, 0x01, 0xff
|
||||||
};
|
};
|
||||||
|
|
||||||
const u8_t relay_ack1[] = {
|
u8_t relay_ack1[] = {
|
||||||
0x00, 0x23, 0xc1, 0xde, 0xd0, 0x0d, 0x00, 0x22,
|
0x00, 0x23, 0xc1, 0xde, 0xd0, 0x0d, 0x00, 0x22,
|
||||||
0x93, 0x5a, 0xf7, 0x60, 0x08, 0x00, 0x45, 0x00,
|
0x93, 0x5a, 0xf7, 0x60, 0x08, 0x00, 0x45, 0x00,
|
||||||
0x01, 0x38, 0xfd, 0x55, 0x00, 0x00, 0x40, 0x11,
|
0x01, 0x38, 0xfd, 0x55, 0x00, 0x00, 0x40, 0x11,
|
||||||
@ -646,7 +646,7 @@ START_TEST(test_dhcp_relayed)
|
|||||||
0x04, 0x0a, 0xb5, 0x04, 0x01, 0xff
|
0x04, 0x0a, 0xb5, 0x04, 0x01, 0xff
|
||||||
};
|
};
|
||||||
|
|
||||||
const u8_t relay_ack2[] = {
|
u8_t relay_ack2[] = {
|
||||||
0x00, 0x23, 0xc1, 0xde, 0xd0, 0x0d,
|
0x00, 0x23, 0xc1, 0xde, 0xd0, 0x0d,
|
||||||
0x00, 0x22, 0x93, 0x5a, 0xf7, 0x60,
|
0x00, 0x22, 0x93, 0x5a, 0xf7, 0x60,
|
||||||
0x08, 0x00, 0x45, 0x00,
|
0x08, 0x00, 0x45, 0x00,
|
||||||
|
Loading…
Reference in New Issue
Block a user