Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2011 07:38:45 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r223858 - stable/8/etc
Message-ID:  <201107080738.p687cjf3098305@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107080738.p687cjf3098305>