From b7084131de5c1ecc33b638664d36c8939704014c Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Mon, 24 Aug 2009 22:05:08 +0000 Subject: [PATCH] Improve the case test to detect the presence of lo0 in the list of network_interfaces. Submitted by: Christoph Mallon --- etc/network.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/network.subr b/etc/network.subr index f3a85603bf56..01f836e9cf67 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -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 ;;