... and forgot one tiny character...

This commit is contained in:
goldsimon 2010-06-15 20:21:30 +00:00
parent 2427917db8
commit b3dc6f2b5b

View File

@ -1434,7 +1434,7 @@ decode_next:
value = ntohl(value);
} else {
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_set_option_value(dhcp, decode_idx, value);