cvs commit: src/etc network.subr
Yar Tikhiy
yar at FreeBSD.org
Sat Aug 28 00:58:03 PDT 2004
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
More information about the cvs-src
mailing list