MFFreeBSD rev 1.155 and 1.156:
revision 1.156
date: 2004-08-28 00:58:02 -0700; author: yar; state: Exp; lines: +4 -3;
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 1.155
date: 2004-08-27 05:11:47 -0700; author: yar; state: Exp; lines: +1 -1;
Fix a typo in a variable name.