diff options
author | dougb <dougb@FreeBSD.org> | 2009-08-24 22:05:08 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2009-08-24 22:05:08 +0000 |
commit | 3a41c4b88f4f3873ec4514afdfcaf68f8915fe2e (patch) | |
tree | 4a48434b5aee470e5b1819a0e43468f5c624b5dd /etc | |
parent | 2a75646939710fc80a3b90a67981ff69423069a8 (diff) | |
download | FreeBSD-src-3a41c4b88f4f3873ec4514afdfcaf68f8915fe2e.zip FreeBSD-src-3a41c4b88f4f3873ec4514afdfcaf68f8915fe2e.tar.gz |
Improve the case test to detect the presence of lo0 in the list of
network_interfaces.
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/network.subr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/network.subr b/etc/network.subr index f3a8560..01f836e 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 ;; |