diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/network.subr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/network.subr b/etc/network.subr index c149854..f3a8560 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -727,6 +727,13 @@ list_net_interfaces() ;; *) _tmplist="${network_interfaces} ${cloned_interfaces}" + + # lo0 is effectively mandatory, so help prevent foot-shooting + # + case "$_tmplist" in + lo0*|*lo0|*' lo0 '*) ;; # This is fine, do nothing + *) _tmplist="lo0 ${_tmplist}" ;; + esac ;; esac |