Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2017 11:02:46 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r325803 - stable/10/etc
Message-ID:  <201711141102.vAEB2k86092846@repo.freebsd.org>

Next in thread | Raw E-Mail | Index | Archive | Help
Author: eugen
Date: Tue Nov 14 11:02:46 2017
New Revision: 325803
URL: https://svnweb.freebsd.org/changeset/base/325803

Log:
  Fix breakage in r325799 that removed a bit of code by my mistake.
  
  Approved by:		avg (mentor)

Modified:
  stable/10/etc/network.subr

Modified: stable/10/etc/network.subr
==============================================================================
--- stable/10/etc/network.subr	Tue Nov 14 10:49:07 2017	(r325802)
+++ stable/10/etc/network.subr	Tue Nov 14 11:02:46 2017	(r325803)
@@ -216,6 +216,10 @@ ifconfig_up()
 	ifalias $1 link alias
 	ifalias $1 ether alias
 
+	if [ ${_cfg} -eq 0 ]; then
+		${IFCONFIG_CMD} $1 up
+	fi
+
 	_ifconfig_descr=`get_if_var $1 ifconfig_IF_descr`
 	if [ -n "${_ifconfig_descr}" ]; then
 		${IFCONFIG_CMD} $1 description "${_ifconfig_descr}"



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?201711141102.vAEB2k86092846>