From owner-freebsd-bugs Wed Feb 6 15:10:37 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 C33F437B425 for ; Wed, 6 Feb 2002 15:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g16NA2F76781; Wed, 6 Feb 2002 15:10:02 -0800 (PST) (envelope-from gnats) Received: from tamqfl1-ar1-201-118.biz.dsl.gtei.net (tamqfl1-ar1-201-118.biz.dsl.gtei.net [4.35.201.118]) by hub.freebsd.org (Postfix) with SMTP id 8E62637B427 for ; Wed, 6 Feb 2002 15:03:42 -0800 (PST) Received: (qmail 23848 invoked from network); 6 Feb 2002 23:03:38 -0000 Received: from cally.queue.to (172.16.0.6) by pickle.queue.to with SMTP; 6 Feb 2002 23:03:38 -0000 Received: (qmail 26907 invoked by uid 1000); 6 Feb 2002 23:03:38 -0000 Message-Id: <20020206230338.26906.qmail@cally.queue.to> Date: 6 Feb 2002 23:03:38 -0000 From: Howard Goldstein To: FreeBSD-gnats-submit@freebsd.org Cc: hg@cally.queue.to X-Send-Pr-Version: 3.113 Subject: bin/34676: dhclient always in -q quiet mode (PATCH ENCLOSED) 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: 34676 >Category: bin >Synopsis: dhclient always in -q quiet mode (PATCH ENCLOSED) >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: Wed Feb 06 15:10:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Howard Goldstein >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD cally.queue.to 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Feb 5 19:09:00 EST 2002 hg@reality.queue.to:/usr/obj/usr/src/sys/CALLY i386 4.5-stable cvsupped around 4 feb 02 >Description: dhclient acts like it's permanently in quiet mode (-q option). -q is ineffective. bad initializer >How-To-Repeat: invoke parameterless dhclient. output from the program is as if -q was invoked >Fix: fix initialization so the -q option is once again the option and verbose the default *** src/contrib/isc-dhcp/client/dhclient.c.orig Mon Mar 5 05:09:32 2001 --- src/contrib/isc-dhcp/client/dhclient.c Wed Feb 6 17:54:22 2002 *************** *** 109,115 **** struct servent *ent; struct interface_info *ip; int seed; ! int quiet = 1; char *s; s = strrchr (argv [0], '/'); --- 109,115 ---- struct servent *ent; struct interface_info *ip; int seed; ! int quiet = 0; char *s; s = strrchr (argv [0], '/'); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message