From fc565edc9bd8e5216cb3988b294daf8db7494b2a Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Tue, 6 Feb 2018 00:25:10 +0000 Subject: 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@ --- sbin/dhclient/dhcpd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/dhclient/dhcpd.h') 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 @@ -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 *, -- cgit v1.2.3