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 143a1fd1c..7b80e6b28 100644 --- a/networking/udhcp/options.c +++ b/networking/udhcp/options.c | |||
@@ -205,7 +205,7 @@ int FAST_FUNC add_option_string(uint8_t *optionptr, uint8_t *string) | |||
205 | string[OPT_CODE]); | 205 | string[OPT_CODE]); |
206 | return 0; | 206 | return 0; |
207 | } | 207 | } |
208 | DEBUG("adding option 0x%02x", string[OPT_CODE]); | 208 | log1("Adding option 0x%02x", string[OPT_CODE]); |
209 | memcpy(optionptr + end, string, string[OPT_LEN] + 2); | 209 | memcpy(optionptr + end, string, string[OPT_LEN] + 2); |
210 | optionptr[end + string[OPT_LEN] + 2] = DHCP_END; | 210 | optionptr[end + string[OPT_LEN] + 2] = DHCP_END; |
211 | return string[OPT_LEN] + 2; | 211 | return string[OPT_LEN] + 2; |