svn commit: r196523 - head/etc
Doug Barton
dougb at FreeBSD.org
Mon Aug 24 22:05:08 UTC 2009
Author: dougb
Date: Mon Aug 24 22:05:08 2009
New Revision: 196523
URL: http://svn.freebsd.org/changeset/base/196523
Log:
Improve the case test to detect the presence of lo0 in the list of
network_interfaces.
Submitted by: Christoph Mallon <christoph.mallon at gmx.de>
Modified:
head/etc/network.subr
Modified: head/etc/network.subr
==============================================================================
--- head/etc/network.subr Mon Aug 24 21:56:41 2009 (r196522)
+++ head/etc/network.subr Mon Aug 24 22:05:08 2009 (r196523)
@@ -731,7 +731,7 @@ list_net_interfaces()
# lo0 is effectively mandatory, so help prevent foot-shooting
#
case "$_tmplist" in
- lo0*|*lo0|*' lo0 '*) ;; # This is fine, do nothing
+ lo0|'lo0 '*|*' lo0'|*' lo0 '*) ;; # This is fine, do nothing
*) _tmplist="lo0 ${_tmplist}" ;;
esac
;;
More information about the svn-src-all
mailing list