Date: Mon, 1 Apr 2002 14:56:32 -0800 (PST) From: Gordon Tetlow <gordont@gnf.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Murray Stokely <murray@FreeBSD.org> Subject: bin/36634: dhclient is quiet and cannot be made loud Message-ID: <200204012256.g31MuWc91436@fountainhead.gnf.org>
next in thread | raw e-mail | index | archive | help
>Number: 36634 >Category: bin >Synopsis: dhclient is quiet and cannot be made loud >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 01 15:00:08 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gordon Tetlow >Release: FreeBSD 4.4-STABLE i386 >Organization: GNF >Environment: 4.x and -CURRENT >Description: dhclient imported into the freebsd base is quiet be default. It would be nice if it could be made loud again with a flag. >How-To-Repeat: dhclient >Fix: How about a -l flag for loud? --- /usr/src/contrib/isc-dhcp/client/dhclient.c Mon Mar 5 02:09:32 2001 +++ dhclient.c Mon Apr 1 14:53:35 2002 @@ -156,6 +156,8 @@ } else if (!strcmp (argv [i], "-q")) { quiet = 1; quiet_interface_discovery = 1; + } else if (!strcmp (argv [i], "-l")) { + quiet = 0; } else if (!strcmp (argv [i], "-1")) { onetry = 1; } else if (argv [i][0] == '-') { @@ -302,7 +304,7 @@ note (""); warn ("Usage: %s [-D] [-d] [-p <port>] [-cf conf-file]", appname); - error (" [-lf lease-file] [-pf pidfile] [-q] [-1] [interface]"); + error (" [-lf lease-file] [-pf pidfile] [-q | -l] [-1] [interface]"); } void cleanup () >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204012256.g31MuWc91436>