From owner-svn-src-head@FreeBSD.ORG Sat Aug 18 19:57:32 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CB9A106564A; Sat, 18 Aug 2012 19:57:32 +0000 (UTC) (envelope-from ache@vniz.net) Received: from vniz.net (vniz.net [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id EEA538FC08; Sat, 18 Aug 2012 19:57:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vniz.net (8.14.5/8.14.5) with ESMTP id q7IJvO4o074761; Sat, 18 Aug 2012 23:57:24 +0400 (MSK) (envelope-from ache@vniz.net) Received: (from ache@localhost) by localhost (8.14.5/8.14.5/Submit) id q7IJvOKZ074760; Sat, 18 Aug 2012 23:57:24 +0400 (MSK) (envelope-from ache) Date: Sat, 18 Aug 2012 23:57:24 +0400 From: Andrey Chernov To: John Baldwin Message-ID: <20120818195724.GA74684@vniz.net> Mail-Followup-To: Andrey Chernov , John Baldwin , src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG References: <201208171553.q7HFrhuf090457@svn.freebsd.org> <20120817182512.GA58051@vniz.net> <201208171507.07699.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201208171507.07699.jhb@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG Subject: Re: svn commit: r239356 - head/sbin/dhclient X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2012 19:57:32 -0000 On Fri, Aug 17, 2012 at 03:07:07PM -0400, John Baldwin wrote: > On Friday, August 17, 2012 2:25:12 pm Andrey Chernov wrote: > > On Fri, Aug 17, 2012 at 03:53:43PM +0000, John Baldwin wrote: > > > Author: jhb > > > Date: Fri Aug 17 15:53:43 2012 > > > New Revision: 239356 > > > URL: http://svn.freebsd.org/changeset/base/239356 > > > > > > Log: > > > Fix dhclient to properly exit and teardown the configured lease when > > > link is lost. devd will start a new dhclient instance when link is > > > restored. > > > > Is it any chance to teach dhclient IPv6 addresses in very basic parser > > level, f.e. to replace nameserver it sniffs from router? Currently > > dhcp-options(5) understands IPv4 addresses only and produce error on > > 'supersede' IPv6 address. > > I think the RFC defines those to be IPv4, yes? Presumably DHCPv6 adds > new option types that support IPv6 addresses? RFC 2131 (if you mean it) describes DHCP process itself, it does not define contents of 'supersede' or other override options for dhclient. Moreover, current dhclient somewhow able to fetch my IPv6 tunnel DNS address from the roiter (I don't look deeper, maybe it is router bug), but I don't want IPv6 tunnel DNS, I want router fe80:... DNS instead. -- http://ache.vniz.net/