summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2018-02-06 00:25:10 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2018-02-06 00:25:10 +0000
commitfc565edc9bd8e5216cb3988b294daf8db7494b2a (patch)
tree89b21de9f5bfe9ae16c2d0536166140b4434ba52 /sbin/dhclient/dhcpd.h
parent95245e673750f56f31b8a2421cf29d1f31a94a1a (diff)
Flip -q (be quiet) into -v (be noisy), making terseness the default
behaviour. Always go daemon after link_timeout seconds and complete lease negotiations in the background if necessary. No hanging around in the foreground for the full 64 seconds waiting for a server to appear. Log a more relevant message when a default route can't be obtained via RTM_GET. i.e. "no default route" rather than "No such process". -q -> -v ok mpi@
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r--sbin/dhclient/dhcpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index 106aa975de6..b78727e5543 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.249 2018/01/30 13:22:42 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.250 2018/02/06 00:25:09 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -216,7 +216,7 @@ extern struct imsgbuf *unpriv_ibuf;
extern volatile sig_atomic_t quit;
extern int cmd_opts;
#define OPT_NOACTION 1
-#define OPT_QUIET 2
+#define OPT_VERBOSE 2
#define OPT_FOREGROUND 4
void dhcpoffer(struct interface_info *, struct option_data *,