diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-03-30 18:49:45 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-03-30 18:49:45 +0200 |
commit | f75a96d74c2e87d0f11995466683b0bf316b9973 (patch) | |
tree | bdfd95f1c2184f320d22290f48dc5b82b4d5ddfd | |
parent | 16efe191289ea7507410c343342486b6ea918024 (diff) | |
download | busybox-w32-f75a96d74c2e87d0f11995466683b0bf316b9973.tar.gz busybox-w32-f75a96d74c2e87d0f11995466683b0bf316b9973.tar.bz2 busybox-w32-f75a96d74c2e87d0f11995466683b0bf316b9973.zip |
udhcp: fix capitalization of two messages
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/udhcp/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c index 1c1863451..0cf4dab63 100644 --- a/networking/udhcp/common.c +++ b/networking/udhcp/common.c | |||
@@ -257,7 +257,7 @@ uint8_t* FAST_FUNC udhcp_get_option(struct dhcp_packet *packet, int code) | |||
257 | continue; /* complain and return NULL */ | 257 | continue; /* complain and return NULL */ |
258 | 258 | ||
259 | if (optionptr[OPT_CODE] == code) { | 259 | if (optionptr[OPT_CODE] == code) { |
260 | log_option("Option found", optionptr); | 260 | log_option("option found", optionptr); |
261 | return optionptr + OPT_DATA; | 261 | return optionptr + OPT_DATA; |
262 | } | 262 | } |
263 | 263 | ||
@@ -303,7 +303,7 @@ void FAST_FUNC udhcp_add_binary_option(struct dhcp_packet *packet, uint8_t *addo | |||
303 | addopt[OPT_CODE]); | 303 | addopt[OPT_CODE]); |
304 | return; | 304 | return; |
305 | } | 305 | } |
306 | log_option("Adding option", addopt); | 306 | log_option("adding option", addopt); |
307 | memcpy(optionptr + end, addopt, len); | 307 | memcpy(optionptr + end, addopt, len); |
308 | optionptr[end + len] = DHCP_END; | 308 | optionptr[end + len] = DHCP_END; |
309 | } | 309 | } |