diff options
Diffstat (limited to 'networking/udhcp/options.c')
-rw-r--r-- | networking/udhcp/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/options.c b/networking/udhcp/options.c index 5bef985..29a2640 100644 --- a/networking/udhcp/options.c +++ b/networking/udhcp/options.c @@ -252,7 +252,7 @@ void FAST_FUNC add_simple_option(uint8_t *optionptr, uint8_t code, uint32_t data uint8_t option[6], len; option[OPT_CODE] = code; - len = dhcp_option_lengths[dh->flags & TYPE_MASK]; + len = dhcp_option_lengths[dh->flags & OPTION_TYPE_MASK]; option[OPT_LEN] = len; if (BB_BIG_ENDIAN) data <<= 8 * (4 - len); |