summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2011-10-23 05:56:59 +0000
committerhrs <hrs@FreeBSD.org>2011-10-23 05:56:59 +0000
commit864e0e20bbdbd1cd0bfb7d45c7cce2a1577607bf (patch)
tree0a77a83d6ce207474a40450960afe5234936ce05 /etc
parent9181ea7a73d7f10a3daaefdb054a8eb5c73330a5 (diff)
downloadFreeBSD-src-864e0e20bbdbd1cd0bfb7d45c7cce2a1577607bf.zip
FreeBSD-src-864e0e20bbdbd1cd0bfb7d45c7cce2a1577607bf.tar.gz
Fix an issue that 127/8 is not configured when $ifconfig_DEFAULT is not empty.
Spotted by: ume
Diffstat (limited to 'etc')
-rw-r--r--etc/network.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/network.subr b/etc/network.subr
index d595b79..76e6795 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -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
OpenPOWER on IntegriCloud