svn commit: r223858 - stable/8/etc

Sergey Kandaurov pluknet at FreeBSD.org
Fri Jul 8 07:38:45 UTC 2011


Author: pluknet
Date: Fri Jul  8 07:38:45 2011
New Revision: 223858
URL: http://svn.freebsd.org/changeset/base/223858

Log:
  MFC r223506:
  
   Add support for string values with white spaces for ifconfig(8)
   parameters accepting them (such as description, group).
  
  PR:		conf/156675

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

Modified: stable/8/etc/network.subr
==============================================================================
--- stable/8/etc/network.subr	Fri Jul  8 06:28:35 2011	(r223857)
+++ stable/8/etc/network.subr	Fri Jul  8 07:38:45 2011	(r223858)
@@ -85,7 +85,7 @@ ifconfig_up()
 
 	ifconfig_args=`ifconfig_getargs $1`
 	if [ -n "${ifconfig_args}" ]; then
-		ifconfig $1 ${ifconfig_args}
+		eval ifconfig $1 ${ifconfig_args}
 		ifconfig $1 up
 		_cfg=0
 	fi


More information about the svn-src-stable-8 mailing list