mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-29 00:32:51 +00:00
... and forgot one tiny character...
This commit is contained in:
parent
2427917db8
commit
b3dc6f2b5b
@ -1434,7 +1434,7 @@ decode_next:
|
|||||||
value = ntohl(value);
|
value = ntohl(value);
|
||||||
} else {
|
} else {
|
||||||
LWIP_ASSERT("invalid decode_len", decode_len == 1);
|
LWIP_ASSERT("invalid decode_len", decode_len == 1);
|
||||||
value = ((u8_t*)value)[0];
|
value = ((u8_t*)&value)[0];
|
||||||
}
|
}
|
||||||
dhcp_got_option(dhcp, decode_idx);
|
dhcp_got_option(dhcp, decode_idx);
|
||||||
dhcp_set_option_value(dhcp, decode_idx, value);
|
dhcp_set_option_value(dhcp, decode_idx, value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user