summaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
authorDenys Vlasenko2017-03-27 22:49:12 +0200
committerDenys Vlasenko2017-03-27 22:49:12 +0200
commitab03061615706d5c741752483cd9729169bf5090 (patch)
tree2b1ffb2d617769a61c18b673a0d6140652b3e6ef /networking/udhcp
parented898ed2ddc1e3627555488671155420a32d0167 (diff)
downloadbusybox-ab03061615706d5c741752483cd9729169bf5090.zip
busybox-ab03061615706d5c741752483cd9729169bf5090.tar.gz
udhcp6: move misplaced comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/d6_dhcpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c
index 95de74f..3e08798 100644
--- a/networking/udhcp/d6_dhcpc.c
+++ b/networking/udhcp/d6_dhcpc.c
@@ -152,8 +152,8 @@ static char** new_env(void)
/* put all the parameters into the environment */
static void option_to_env(uint8_t *option, uint8_t *option_end)
{
- /* "length minus 4" */
char *dlist, *ptr;
+ /* "length minus 4" */
int len_m4 = option_end - option - 4;
int olen, ooff;
while (len_m4 >= 0) {