diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-02-17 18:27:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-02-17 18:27:39 +0000 |
commit | a9096028b7123f371e1599d9fe96751213aa2a33 (patch) | |
tree | 2a5db3515354b3da50117e1dfe038b5ce939737c /usr.sbin | |
parent | 9384a10810c060382177f59d1025e145cd63e903 (diff) |
-q flag is unused (old shared code from dhclient); spotted by mark@cyodesigns
ok krw
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/dhcpd/dhcpd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/dhcpd/dhcpd.c b/usr.sbin/dhcpd/dhcpd.c index e86fdea8aba..3d91edfc93c 100644 --- a/usr.sbin/dhcpd/dhcpd.c +++ b/usr.sbin/dhcpd/dhcpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.c,v 1.31 2007/02/17 13:32:15 jmc Exp $ */ +/* $OpenBSD: dhcpd.c,v 1.32 2007/02/17 18:27:38 deraadt Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@cvs.openbsd.org> @@ -73,7 +73,7 @@ main(int argc, char *argv[]) openlog(__progname, LOG_NDELAY, DHCPD_LOG_FACILITY); setlogmask(LOG_UPTO(LOG_INFO)); - while ((ch = getopt(argc, argv, "A:C:L:c:dfl:nq")) != -1) + while ((ch = getopt(argc, argv, "A:C:L:c:dfl:n")) != -1) switch (ch) { case 'A': abandoned_tab = optarg; @@ -102,8 +102,6 @@ main(int argc, char *argv[]) cftest = 1; log_perror = -1; break; - case 'q': - break; default: usage(); } |