Date: Tue, 27 Feb 2007 16:54:00 +0100 From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Sam Leffler <sam@FreeBSD.org> 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: <86mz2zwq93.fsf@dwp.des.no> In-Reply-To: <200702242355.l1ONtlSE066370@repoman.freebsd.org> (Sam Leffler's message of "Sat, 24 Feb 2007 23:55:47 %2B0000 (UTC)") References: <200702242355.l1ONtlSE066370@repoman.freebsd.org>
index | next in thread | previous in thread | raw e-mail
Sam Leffler <sam@FreeBSD.org> 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. DES -- Dag-Erling Smørgrav - des@des.nohelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86mz2zwq93.fsf>
