aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 95de74f9b..3e0879876 100644
--- a/networking/udhcp/d6_dhcpc.c
+++ b/networking/udhcp/d6_dhcpc.c
@@ -152,8 +152,8 @@ static char** new_env(void)
152/* put all the parameters into the environment */ 152/* put all the parameters into the environment */
153static void option_to_env(uint8_t *option, uint8_t *option_end) 153static void option_to_env(uint8_t *option, uint8_t *option_end)
154{ 154{
155 /* "length minus 4" */
156 char *dlist, *ptr; 155 char *dlist, *ptr;
156 /* "length minus 4" */
157 int len_m4 = option_end - option - 4; 157 int len_m4 = option_end - option - 4;
158 int olen, ooff; 158 int olen, ooff;
159 while (len_m4 >= 0) { 159 while (len_m4 >= 0) {