Skip site navigation (1)Skip section navigation (2)
Date:      6 Feb 2002 23:03:38 -0000
From:      Howard Goldstein <hg@penny.n2wx.ampr.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        hg@cally.queue.to
Subject:   bin/34676: dhclient always in -q quiet mode (PATCH ENCLOSED)
Message-ID:  <20020206230338.26906.qmail@cally.queue.to>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020206230338.26906.qmail>