From owner-freebsd-current@FreeBSD.ORG Mon Aug 4 08:31:58 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B6B537B401; Mon, 4 Aug 2003 08:31:58 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCD8843FB1; Mon, 4 Aug 2003 08:31:56 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.6p2/8.12.3) with ESMTP id h74FVrYc005113; Mon, 4 Aug 2003 17:31:54 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from cvs.imp.ch (cvs.imp.ch [157.161.4.9]) by nbs.imp.ch (8.12.8/8.12.3) with ESMTP id h74FVrlH8220766; Mon, 4 Aug 2003 17:31:53 +0200 (MES) Date: Mon, 4 Aug 2003 17:31:53 +0200 (CEST) From: Martin Blapp To: "Matthew N. Dodd" In-Reply-To: <20030804110501.B99550@sasami.jurai.net> Message-ID: <20030804172842.I31668@cvs.imp.ch> References: <20030804163850.B31668@cvs.imp.ch> <20030804110501.B99550@sasami.jurai.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@FreeBSD.ORG cc: Larry Rosenman Subject: Re: dhclient/dhclient.conf change in -CURRENT? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 15:31:59 -0000 Hi, > > polling addition, but that should not make any difference here. > > Read the code. > > dhclient.c:send_discover() bails out if interface_active() is false BEFORE > iterating all the possible media settings. interface_active() doesn't bail out. It returns 1, which means "ok", and all should be done like bevor. It only returns "0", if if (ifmr.ifm_status & IFM_AVALID) is not true. Martin