Date: Tue, 27 Feb 2007 18:23:04 +0100 From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Sam Leffler <sam@errno.com> 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 Message-ID: <86fy8rms5j.fsf@dwp.des.no> In-Reply-To: <45E461B5.9000404@errno.com> (Sam Leffler's message of "Tue, 27 Feb 2007 08:52:05 -0800") References: <200702242355.l1ONtlSE066370@repoman.freebsd.org> <86mz2zwq93.fsf@dwp.des.no> <45E461B5.9000404@errno.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sam Leffler <sam@errno.com> writes: > Dag-Erling Sm=F8rgrav wrote: > > 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? Is "ifconfig bridge0 create" specific enough? Insert a printf() in the right spot and you'll see name is empty when ifclonecreate() is called. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86fy8rms5j.fsf>