From owner-svn-src-all@FreeBSD.ORG Sun Oct 23 05:56:59 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3208106564A; Sun, 23 Oct 2011 05:56:59 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D3A0B8FC18; Sun, 23 Oct 2011 05:56:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p9N5uxqZ013847; Sun, 23 Oct 2011 05:56:59 GMT (envelope-from hrs@svn.freebsd.org) Received: (from hrs@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p9N5uxlt013845; Sun, 23 Oct 2011 05:56:59 GMT (envelope-from hrs@svn.freebsd.org) Message-Id: <201110230556.p9N5uxlt013845@svn.freebsd.org> From: Hiroki Sato Date: Sun, 23 Oct 2011 05:56:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r226649 - head/etc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2011 05:57:00 -0000 Author: hrs Date: Sun Oct 23 05:56:59 2011 New Revision: 226649 URL: http://svn.freebsd.org/changeset/base/226649 Log: Fix an issue that 127/8 is not configured when $ifconfig_DEFAULT is not empty. Spotted by: ume Modified: head/etc/network.subr Modified: head/etc/network.subr ============================================================================== --- head/etc/network.subr Sun Oct 23 02:52:20 2011 (r226648) +++ head/etc/network.subr Sun Oct 23 05:56:59 2011 (r226649) @@ -532,7 +532,7 @@ ipv4_up() # Add 127.0.0.1/8 to lo0 unless otherwise specified. if [ "${_if}" = "lo0" ]; then - ifconfig_args=`ifconfig_getargs ${_if}` + ifconfig_args=`get_if_var ${_if} ifconfig_IF` if [ -z "${ifconfig_args}" ]; then ifconfig ${_if} inet 127.0.0.1/8 alias fi