diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-07-07 20:03:41 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-07-07 20:03:41 +0000 |
commit | cbba43fa52e640d8733f3eea9c7bcd2183058cda (patch) | |
tree | 10cbdc15a544166081c63fa33099723e6f517da8 /sbin/dhclient/dhclient.c | |
parent | eb589c99a0f8208131cae389b90793f3d138a94e (diff) |
Eliminate unused code and associated parameter.
ok deraadt@ millert@.
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r-- | sbin/dhclient/dhclient.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index 59ef98cf280..43211880cf0 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.70 2005/07/07 16:24:24 krw Exp $ */ +/* $OpenBSD: dhclient.c,v 1.71 2005/07/07 20:03:40 krw Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -1392,7 +1392,7 @@ make_discover(struct interface_info *ip, struct client_lease *lease) } /* Set up the option buffer... */ - ip->client->packet_length = cons_options(NULL, &ip->client->packet, 0, + ip->client->packet_length = cons_options(&ip->client->packet, 0, options, 0, 0, 0, NULL, 0); if (ip->client->packet_length < BOOTP_MIN_LEN) ip->client->packet_length = BOOTP_MIN_LEN; @@ -1466,7 +1466,7 @@ make_request(struct interface_info *ip, struct client_lease * lease) } /* Set up the option buffer... */ - ip->client->packet_length = cons_options(NULL, &ip->client->packet, 0, + ip->client->packet_length = cons_options(&ip->client->packet, 0, options, 0, 0, 0, NULL, 0); if (ip->client->packet_length < BOOTP_MIN_LEN) ip->client->packet_length = BOOTP_MIN_LEN; @@ -1535,7 +1535,7 @@ make_decline(struct interface_info *ip, struct client_lease *lease) } /* Set up the option buffer... */ - ip->client->packet_length = cons_options(NULL, &ip->client->packet, 0, + ip->client->packet_length = cons_options(&ip->client->packet, 0, options, 0, 0, 0, NULL, 0); if (ip->client->packet_length < BOOTP_MIN_LEN) ip->client->packet_length = BOOTP_MIN_LEN; |