From 31af3d5a1dbc750d8646f948ce642e6ae57ce880 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 17 Jun 2009 11:57:09 +0200 Subject: udhcp: shorten mac len from 16 to 6 in lease file Signed-off-by: Denys Vlasenko --- networking/udhcp/script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'networking/udhcp/script.c') 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, /* put all the parameters into an environment */ -static char **fill_envp(struct dhcpMessage *packet) +static char **fill_envp(struct dhcp_packet *packet) { int num_options = 0; int i; @@ -210,7 +210,7 @@ static char **fill_envp(struct dhcpMessage *packet) /* Call a script with a par file and env vars */ -void FAST_FUNC udhcp_run_script(struct dhcpMessage *packet, const char *name) +void FAST_FUNC udhcp_run_script(struct dhcp_packet *packet, const char *name) { char **envp, **curr; char *argv[3]; -- cgit v1.2.3