summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcrelay/dhcrelay.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-04-13 02:00:52 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-04-13 02:00:52 +0000
commit01f0de988ed6f359b1eb3a2c939621e1627d796b (patch)
tree90fcf63bdbf5ed5dce16eeb8801caadc3c8de727 /usr.sbin/dhcrelay/dhcrelay.c
parent5c4ae5509e3b5a8644567b51cc0829d7a11c4599 (diff)
remove the quiet option, we're being quiet by default
Diffstat (limited to 'usr.sbin/dhcrelay/dhcrelay.c')
-rw-r--r--usr.sbin/dhcrelay/dhcrelay.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/usr.sbin/dhcrelay/dhcrelay.c b/usr.sbin/dhcrelay/dhcrelay.c
index 548ae897650..0f12d3c7871 100644
--- a/usr.sbin/dhcrelay/dhcrelay.c
+++ b/usr.sbin/dhcrelay/dhcrelay.c
@@ -64,7 +64,7 @@ struct server_list {
int
main(int argc, char *argv[])
{
- int ch, quiet = 0, no_daemon = 0;
+ int ch, no_daemon = 0;
extern char *__progname;
struct servent *ent;
struct server_list *sp = NULL;
@@ -74,7 +74,7 @@ main(int argc, char *argv[])
openlog(__progname, LOG_NDELAY, DHCPD_LOG_FACILITY);
setlogmask(LOG_UPTO(LOG_INFO));
- while ((ch = getopt(argc, argv, "di:p:q")) != -1) {
+ while ((ch = getopt(argc, argv, "di:p:")) != -1) {
switch (ch) {
case 'd':
no_daemon = 1;
@@ -91,9 +91,6 @@ main(int argc, char *argv[])
case 'p':
local_port = htons(atoi(optarg));
break;
- case 'q':
- quiet = 1;
- break;
default:
usage();
/* not reached */
@@ -130,8 +127,7 @@ main(int argc, char *argv[])
argv++;
}
- if (!quiet)
- log_perror = 0;
+ log_perror = 0;
if (interfaces == NULL)
error("no interface given");