From owner-freebsd-bugs Mon Apr 1 15: 0:20 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1242837B419 for ; Mon, 1 Apr 2002 15:00:09 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g31N09376049; Mon, 1 Apr 2002 15:00:09 -0800 (PST) (envelope-from gnats) Received: from ns2.gnf.org (ns2.gnf.org [63.196.132.68]) by hub.freebsd.org (Postfix) with ESMTP id 1066237B41D; Mon, 1 Apr 2002 14:57:02 -0800 (PST) Received: from mail.gnf.org (smtp.gnf.org [172.25.11.11]) by ns2.gnf.org (8.11.6/8.11.6) with ESMTP id g31Mp6O80378; Mon, 1 Apr 2002 14:51:06 -0800 (PST) (envelope-from gtetlow@gnf.org) Received: from fountainhead.gnf.org (fountainhead.gnf.org [172.25.28.11]) by mail.gnf.org (Postfix) with ESMTP id A5E4911E504; Mon, 1 Apr 2002 14:57:01 -0800 (PST) Received: (from gtetlow@localhost) by fountainhead.gnf.org (8.11.6/8.11.6) id g31MuWc91436; Mon, 1 Apr 2002 14:56:32 -0800 (PST) (envelope-from gtetlow) Message-Id: <200204012256.g31MuWc91436@fountainhead.gnf.org> Date: Mon, 1 Apr 2002 14:56:32 -0800 (PST) From: Gordon Tetlow To: FreeBSD-gnats-submit@FreeBSD.org Cc: Murray Stokely X-Send-Pr-Version: 3.113 Subject: bin/36634: dhclient is quiet and cannot be made loud Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 ] [-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