summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-04-07 20:18:48 +0000
committerhenning <henning@openbsd.org>2004-04-07 20:18:48 +0000
commit660f8690dec269dbf73135e7e214863aee54fc79 (patch)
tree81cf77d3b08ab9192c0773b594ae7a60c18326b1
parentsince we removed all the multiple interfaces crap, we now need a lease (diff)
downloadwireguard-openbsd-660f8690dec269dbf73135e7e214863aee54fc79.tar.xz
wireguard-openbsd-660f8690dec269dbf73135e7e214863aee54fc79.zip
remove -D option which had no effect whatsover
-rw-r--r--sbin/dhclient/dhclient.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 00212c0ffdb..61f231719b2 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.32 2004/04/07 20:14:46 henning Exp $ */
+/* $OpenBSD: dhclient.c,v 1.33 2004/04/07 20:18:48 henning Exp $ */
/* DHCP Client. */
@@ -99,7 +99,6 @@ struct sockaddr_in sockaddr_broadcast;
int log_priority;
int no_daemon;
-int save_scripts;
int unknown_ok = 1;
int routefd;
@@ -214,7 +213,7 @@ main(int argc, char *argv[])
openlog(__progname, LOG_NDELAY, DHCPD_LOG_FACILITY);
setlogmask(LOG_UPTO(LOG_INFO));
- while ((ch = getopt(argc, argv, "c:dDl:qu")) != -1)
+ while ((ch = getopt(argc, argv, "c:dl:qu")) != -1)
switch (ch) {
case 'c':
path_dhclient_conf = optarg;
@@ -222,9 +221,6 @@ main(int argc, char *argv[])
case 'd':
no_daemon = 1;
break;
- case 'D':
- save_scripts = 1;
- break;
case 'l':
path_dhclient_db = optarg;
break;