summaryrefslogtreecommitdiff
path: root/networking/udhcp/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/options.c')
-rw-r--r--networking/udhcp/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/options.c b/networking/udhcp/options.c
index 5bef985bc..29a264047 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
252 uint8_t option[6], len; 252 uint8_t option[6], len;
253 253
254 option[OPT_CODE] = code; 254 option[OPT_CODE] = code;
255 len = dhcp_option_lengths[dh->flags & TYPE_MASK]; 255 len = dhcp_option_lengths[dh->flags & OPTION_TYPE_MASK];
256 option[OPT_LEN] = len; 256 option[OPT_LEN] = len;
257 if (BB_BIG_ENDIAN) 257 if (BB_BIG_ENDIAN)
258 data <<= 8 * (4 - len); 258 data <<= 8 * (4 - len);