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 22780d86a..794e3ca8d 100644
--- a/networking/udhcp/script.c
+++ b/networking/udhcp/script.c
@@ -129,7 +129,7 @@ static char *alloc_fill_opts(uint8_t *option, const struct dhcp_option *type_p,
129 129
130 130
131/* put all the parameters into an environment */ 131/* put all the parameters into an environment */
132static char **fill_envp(struct dhcpMessage *packet) 132static char **fill_envp(struct dhcp_packet *packet)
133{ 133{
134 int num_options = 0; 134 int num_options = 0;
135 int i; 135 int i;
@@ -210,7 +210,7 @@ static char **fill_envp(struct dhcpMessage *packet)
210 210
211 211
212/* Call a script with a par file and env vars */ 212/* Call a script with a par file and env vars */
213void FAST_FUNC udhcp_run_script(struct dhcpMessage *packet, const char *name) 213void FAST_FUNC udhcp_run_script(struct dhcp_packet *packet, const char *name)
214{ 214{
215 char **envp, **curr; 215 char **envp, **curr;
216 char *argv[3]; 216 char *argv[3];