PERFORCE change 137133 for review

Sam Leffler sam at FreeBSD.org
Sat Mar 8 00:29:57 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=137133

Change 137133 by sam at sam_ebb on 2008/03/08 00:29:18

	a total hack just to get brooks attention

Affected files ...

.. //depot/projects/vap/etc/network.subr#3 edit

Differences ...

==== //depot/projects/vap/etc/network.subr#3 (text+ko) ====

@@ -426,7 +426,13 @@
 	_prefix=
 	_list=
 	for ifn in ${cloned_interfaces}; do
-		ifconfig ${ifn} create
+		_wlandev=`expr "$ifn" : 'wlan:\(.*\)'`
+		if [ -n "$_wlandev" ]; then
+			ifn="wlan";
+			ifconfig ${ifn} create wlandev $_wlandev
+		else
+			ifconfig ${ifn} create
+		fi
 		if [ $? -eq 0 ]; then
 			_list="${_list}${_prefix}${ifn}"
 			[ -z "$_prefix" ] && _prefix=' '


More information about the p4-projects mailing list