From owner-freebsd-current@FreeBSD.ORG Sat Aug 9 05:42:51 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 D2DF337B405 for ; Sat, 9 Aug 2003 05:42:44 -0700 (PDT) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA56743FB1 for ; Sat, 9 Aug 2003 05:42:43 -0700 (PDT) (envelope-from winter@jurai.net) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.12.9/8.12.9) with ESMTP id h79Cgf3q051274; Sat, 9 Aug 2003 08:42:41 -0400 (EDT) (envelope-from winter@jurai.net) Date: Sat, 9 Aug 2003 08:42:41 -0400 (EDT) From: "Matthew N. Dodd" To: Martin Blapp In-Reply-To: <20030809143707.A49451@cvs.imp.ch> Message-ID: <20030809084042.X87665@sasami.jurai.net> References: <20030809072050.GA7547@crodrigues.org> <20030809122637.D49451@cvs.imp.ch><20030809143707.A49451@cvs.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Craig Rodrigues cc: freebsd-current@freebsd.org Subject: Re: dhclient problem with xl0 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: Sat, 09 Aug 2003 12:42:51 -0000 On Sat, 9 Aug 2003, Martin Blapp wrote: > > dhclient is still relying on behavior from the kernel that isn't > > guaranteed. > > I know. But I'd consider that as a kernel bug, not dhclient fault. > Would it help the set the card into promisc. mode anyway, even > if we don't have link ? Except that you've added code to dhclient that makes poor assumptions about the ifmedia status word. Its optional; for hardware that you can detect media status it can be used to display the status. For other hardware, we shouldn't have to "lie" about media status; if the hardware doesn't support reporting media status then we shouldn't do anything with the status word. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever |