From owner-svn-src-stable-10@freebsd.org Tue Nov 14 11:02:47 2017 Return-Path: Delivered-To: svn-src-stable-10@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90423DBAF71; Tue, 14 Nov 2017 11:02:47 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5AC937A084; Tue, 14 Nov 2017 11:02:47 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAEB2k5C092847; Tue, 14 Nov 2017 11:02:46 GMT (envelope-from eugen@FreeBSD.org) Received: (from eugen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAEB2k86092846; Tue, 14 Nov 2017 11:02:46 GMT (envelope-from eugen@FreeBSD.org) Message-Id: <201711141102.vAEB2k86092846@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: eugen set sender to eugen@FreeBSD.org using -f From: Eugene Grosbein Date: Tue, 14 Nov 2017 11:02:46 +0000 (UTC) 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 X-SVN-Group: stable-10 X-SVN-Commit-Author: eugen X-SVN-Commit-Paths: stable/10/etc X-SVN-Commit-Revision: 325803 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 11:02:47 -0000 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}"