projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed898ed
)
udhcp6: move misplaced comment
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 27 Mar 2017 20:49:12 +0000
(22:49 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 27 Mar 2017 20:49:12 +0000
(22:49 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/d6_dhcpc.c
patch
|
blob
|
history
diff --git
a/networking/udhcp/d6_dhcpc.c
b/networking/udhcp/d6_dhcpc.c
index 95de74f9b67c97605e562679d710e316d50ebfdb..3e087987679951968a3f0b9981201745aabc082b 100644
(file)
--- 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) {