aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/script.c')
-rw-r--r--networking/udhcp/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c
index 5d42a45db..3029b1367 100644
--- a/networking/udhcp/script.c
+++ b/networking/udhcp/script.c
@@ -135,7 +135,7 @@ static char **fill_envp(struct dhcpMessage *packet)
135 char **envp, **curr; 135 char **envp, **curr;
136 const char *opt_name; 136 const char *opt_name;
137 uint8_t *temp; 137 uint8_t *temp;
138 char over = 0; 138 uint8_t over = 0;
139 139
140 if (packet) { 140 if (packet) {
141 for (i = 0; dhcp_options[i].code; i++) { 141 for (i = 0; dhcp_options[i].code; i++) {
@@ -147,7 +147,7 @@ static char **fill_envp(struct dhcpMessage *packet)
147 } 147 }
148 if (packet->siaddr) 148 if (packet->siaddr)
149 num_options++; 149 num_options++;
150 temp = get_option(packet, DHCP_OPTION_OVER); 150 temp = get_option(packet, DHCP_OPTION_OVERLOAD);
151 if (temp) 151 if (temp)
152 over = *temp; 152 over = *temp;
153 if (!(over & FILE_FIELD) && packet->file[0]) 153 if (!(over & FILE_FIELD) && packet->file[0])