Date: Sat, 28 Aug 2004 07:58:02 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc network.subr Message-ID: <200408280758.i7S7w2Wc095935@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408280758.i7S7w2Wc095935>
