From owner-cvs-src@FreeBSD.ORG  Thu Mar 29 19:58:59 2007
Return-Path: <owner-cvs-src@FreeBSD.ORG>
X-Original-To: cvs-src@freebsd.org
Delivered-To: cvs-src@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 87F9916A400;
	Thu, 29 Mar 2007 19:58:59 +0000 (UTC)
	(envelope-from ache@nagual.pp.ru)
Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69])
	by mx1.freebsd.org (Postfix) with ESMTP id 05B6613C44C;
	Thu, 29 Mar 2007 19:58:58 +0000 (UTC)
	(envelope-from ache@nagual.pp.ru)
Received: from nagual.pp.ru (ache@localhost [127.0.0.1])
	by nagual.pp.ru (8.13.8/8.13.8) with ESMTP id l2TJwvFp011796;
	Thu, 29 Mar 2007 23:58:57 +0400 (MSD)
	(envelope-from ache@nagual.pp.ru)
Received: (from ache@localhost)
	by nagual.pp.ru (8.13.8/8.13.8/Submit) id l2TJwvHC011795;
	Thu, 29 Mar 2007 23:58:57 +0400 (MSD) (envelope-from ache)
Date: Thu, 29 Mar 2007 23:58:57 +0400
From: Andrey Chernov <ache@freebsd.org>
To: John Baldwin <jhb@freebsd.org>
Message-ID: <20070329195857.GA11737@nagual.pp.ru>
Mail-Followup-To: Andrey Chernov <ache@freebsd.org>,
	John Baldwin <jhb@freebsd.org>, Mike Makonnen <mtm@freebsd.org>,
	src-committers@freebsd.org, cvs-src@freebsd.org,
	cvs-all@freebsd.org
References: <200703291055.l2TAtYu4038445@repoman.freebsd.org>
	<20070329172409.GA38703@rogue.navcom.lan>
	<20070329190812.GA11138@nagual.pp.ru>
	<200703291534.46417.jhb@freebsd.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200703291534.46417.jhb@freebsd.org>
User-Agent: Mutt/1.5.14 (2007-02-12)
Cc: cvs-src@freebsd.org, Mike Makonnen <mtm@freebsd.org>,
	src-committers@freebsd.org, cvs-all@freebsd.org
Subject: Re: cvs commit: src/etc network.subr
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Mar 2007 19:58:59 -0000

On Thu, Mar 29, 2007 at 03:34:45PM -0400, John Baldwin wrote:
> The change in v1.28 fixed a similar warning where you'd get something like
> 
> /etc/rc.d/dhclient: WARNING: $background_dhclient_bge0 is not set properly
> 
> (where bge0 is an interface name).  1.28 fixed the warning for me, but I don't 
> use background_dhclient and have none of the variables set.  Maybe Andrey is 
> seeing a warning in the non-default case when a variable is set?

I have plain DHCP and don't use background_dhclient too. I wonder why 
somebody have not see it. Look at this lines from v1.28:

background_dhclient=`get_if_var $ifn background_dhclient_IF $background_dhclient`
        if checkyesno background_dhclient; then

Since background_dhclient_fxp0="" automatically set earlier, 
background_dhclient evaluates to "" too.
Then checkyesno background_dhclient produces this warning.

-- 
http://ache.pp.ru/