svn commit: r201218 - stable/7/etc

John Baldwin jhb at FreeBSD.org
Tue Dec 29 21:19:53 UTC 2009


Author: jhb
Date: Tue Dec 29 21:19:52 2009
New Revision: 201218
URL: http://svn.freebsd.org/changeset/base/201218

Log:
  Partial MFC of 178527:
  Add support for create_args_<IF> to interfaces created via
  cloned_interfaces.

Modified:
  stable/7/etc/network.subr
Directory Properties:
  stable/7/etc/   (props changed)

Modified: stable/7/etc/network.subr
==============================================================================
--- stable/7/etc/network.subr	Tue Dec 29 21:07:17 2009	(r201217)
+++ stable/7/etc/network.subr	Tue Dec 29 21:19:52 2009	(r201218)
@@ -426,7 +426,7 @@ clone_up()
 	_prefix=
 	_list=
 	for ifn in ${cloned_interfaces}; do
-		ifconfig ${ifn} create
+		ifconfig ${ifn} create `get_if_var ${ifn} create_args_IF`
 		if [ $? -eq 0 ]; then
 			_list="${_list}${_prefix}${ifn}"
 			[ -z "$_prefix" ] && _prefix=' '


More information about the svn-src-all mailing list