From owner-cvs-all Wed Jan 9 21:36:41 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ABD9037B41B; Wed, 9 Jan 2002 21:36:36 -0800 (PST) Received: (from marcel@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0A5aao01807; Wed, 9 Jan 2002 21:36:36 -0800 (PST) (envelope-from marcel) Message-Id: <200201100536.g0A5aao01807@freefall.freebsd.org> From: Marcel Moolenaar Date: Wed, 9 Jan 2002 21:36:36 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_ioctl.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG marcel 2002/01/09 21:36:36 PST Modified files: sys/compat/linux linux_ioctl.c Log: Further fixes related to the interface renaming. Now that we properly translate the interface name passed to us, make sure we also translate correctly before we return the list of interfaces with the SIOCGIFCONF ioctl. It is common to use the interface names returned by that ioctl in further ioctls, such as SIOCGIFFLAGS. Remove linux_ifname as it is no longer used. Also remove ifname_bsd_to_linux as it cannot be used anymore now that linux_ifname is removed (was deadcode anyway). Reported and tested by: Andrew Atrens Revision Changes Path 1.79 +12 -52 src/sys/compat/linux/linux_ioctl.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message