From owner-cvs-all@FreeBSD.ORG Tue Feb 27 16:52:08 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66D7E16A512; Tue, 27 Feb 2007 16:52:08 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1A16513C474; Tue, 27 Feb 2007 16:52:08 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l1RGq5xt034918 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Feb 2007 08:52:05 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45E461B5.9000404@errno.com> Date: Tue, 27 Feb 2007 08:52:05 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5.0.9 (X11/20070208) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <200702242355.l1ONtlSE066370@repoman.freebsd.org> <86mz2zwq93.fsf@dwp.des.no> In-Reply-To: <86mz2zwq93.fsf@dwp.des.no> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig af_atalk.c af_inet.c af_inet6.c af_ipx.c af_link.c ifconfig.c ifconfig.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 16:52:08 -0000 Dag-Erling Smørgrav wrote: > Sam Leffler writes: >> Log: >> use getifaddrs from libc instead of private code > > This commit breaks interface cloning. Apparently, the global variable > "name" is not initialized before ifclonecreate() is called, so the > SIOCIFCREATE2 ioctl() is called with an empty string instead of the > interface name. Hmm, worked for bridge for me. Can you provide the specific example? Sam