diff options
Diffstat (limited to 'sbin/dhclient')
-rw-r--r-- | sbin/dhclient/dhcpd.h | 4 | ||||
-rw-r--r-- | sbin/dhclient/dispatch.c | 4 | ||||
-rw-r--r-- | sbin/dhclient/options.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h index 1c2bbdeaf68..8fab3123b6e 100644 --- a/sbin/dhclient/dhcpd.h +++ b/sbin/dhclient/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.112 2013/03/30 16:10:01 krw Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.113 2013/04/05 19:19:05 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -209,7 +209,7 @@ extern volatile sig_atomic_t quit; /* options.c */ int cons_options(struct option_data *); char *pretty_print_option(unsigned int, struct option_data *, int); -void do_packet(int, unsigned int, struct in_addr, struct hardware *); +void do_packet(unsigned int, struct in_addr, struct hardware *); /* errwarn.c */ extern int warnings_occurred; diff --git a/sbin/dhclient/dispatch.c b/sbin/dhclient/dispatch.c index ed1b4bb66d5..bb6920edbce 100644 --- a/sbin/dhclient/dispatch.c +++ b/sbin/dhclient/dispatch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dispatch.c,v 1.76 2013/03/22 23:58:51 krw Exp $ */ +/* $OpenBSD: dispatch.c,v 1.77 2013/04/05 19:19:05 krw Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -255,7 +255,7 @@ got_one(void) memcpy(&ifrom, &from.sin_addr, sizeof(ifrom)); - do_packet(result, from.sin_port, ifrom, &hfrom); + do_packet(from.sin_port, ifrom, &hfrom); } void diff --git a/sbin/dhclient/options.c b/sbin/dhclient/options.c index 46121450cea..b2a8e30052e 100644 --- a/sbin/dhclient/options.c +++ b/sbin/dhclient/options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options.c,v 1.51 2013/02/14 20:39:46 krw Exp $ */ +/* $OpenBSD: options.c,v 1.52 2013/04/05 19:19:05 krw Exp $ */ /* DHCP options parsing and reassembly. */ @@ -457,7 +457,7 @@ toobig: } void -do_packet(int len, unsigned int from_port, struct in_addr from, +do_packet(unsigned int from_port, struct in_addr from, struct hardware *hfrom) { struct dhcp_packet *packet = &client->packet; |