diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-07-08 00:57:37 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-07-08 00:57:37 +0000 |
commit | 073bf89fea1fc8960b9af881d6d7e437e5590a07 (patch) | |
tree | e88a596c2a32d8f52d421e3391adcfdca0dbe4b9 /sbin/dhclient/dhclient.c | |
parent | cd1c07d3baff0d7820bc33af4c1cc0411babb92c (diff) |
Eliminate unused code and associated parameters.
ok deraadt@
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r-- | sbin/dhclient/dhclient.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index 43211880cf0..6af9e243b7e 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.71 2005/07/07 20:03:40 krw Exp $ */ +/* $OpenBSD: dhclient.c,v 1.72 2005/07/08 00:57:36 krw Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -1392,8 +1392,7 @@ make_discover(struct interface_info *ip, struct client_lease *lease) } /* Set up the option buffer... */ - ip->client->packet_length = cons_options(&ip->client->packet, 0, - options, 0, 0, 0, NULL, 0); + ip->client->packet_length = cons_options(&ip->client->packet, options); if (ip->client->packet_length < BOOTP_MIN_LEN) ip->client->packet_length = BOOTP_MIN_LEN; @@ -1466,8 +1465,7 @@ make_request(struct interface_info *ip, struct client_lease * lease) } /* Set up the option buffer... */ - ip->client->packet_length = cons_options(&ip->client->packet, 0, - options, 0, 0, 0, NULL, 0); + ip->client->packet_length = cons_options(&ip->client->packet, options); if (ip->client->packet_length < BOOTP_MIN_LEN) ip->client->packet_length = BOOTP_MIN_LEN; @@ -1535,8 +1533,7 @@ make_decline(struct interface_info *ip, struct client_lease *lease) } /* Set up the option buffer... */ - ip->client->packet_length = cons_options(&ip->client->packet, 0, - options, 0, 0, 0, NULL, 0); + ip->client->packet_length = cons_options(&ip->client->packet, options); if (ip->client->packet_length < BOOTP_MIN_LEN) ip->client->packet_length = BOOTP_MIN_LEN; |