svn commit: r226649 - head/etc

Hiroki Sato hrs at FreeBSD.org
Sun Oct 23 05:57:00 UTC 2011


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


More information about the svn-src-head mailing list