From owner-cvs-all@FreeBSD.ORG Sat Aug 28 07:58:02 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF5F916A4CE; Sat, 28 Aug 2004 07:58:02 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F0E943D1D; Sat, 28 Aug 2004 07:58:02 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7S7w2Eh095936; Sat, 28 Aug 2004 07:58:02 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7S7w2Wc095935; Sat, 28 Aug 2004 07:58:02 GMT (envelope-from yar) Message-Id: <200408280758.i7S7w2Wc095935@repoman.freebsd.org> From: Yar Tikhiy Date: Sat, 28 Aug 2004 07:58:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc network.subr X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 28 Aug 2004 07:58:02 -0000 yar 2004-08-28 07:58:02 UTC FreeBSD src repository Modified files: etc network.subr Log: Avoid double appearing of cloned interfaces in the output from list_net_interfaces() when network_interfaces=auto. Rationale: Since the auto case is special, the lesser evil had to be chosen among not adding cloned interfaces to _tmplist or removing duplicates from _tmplist after adding cloned interfaces. Since list_net_interfaces() must not use /usr/bin tools, the former "evil" appeared clearer and much more efficient. (See the PR audit trail for discussion.) PR: conf/63700 Reviewed by: brooks MFC after: 5 days Revision Changes Path 1.156 +4 -3 src/etc/network.subr