use interface lo0 under solaris

This commit is contained in:
Thomas Bernard 2016-11-11 08:53:43 -05:00
parent bab8737dce
commit 3e80385941
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
OS=`uname -s`
IF=lo
if [ "$OS" = "Darwin" ] ; then
if [ "$OS" = "Darwin" ] || [ "$OS" = "SunOS" ] ; then
IF=lo0
fi
# if set, 1st argument is network interface

View File

@ -4,7 +4,7 @@
OS=`uname -s`
IF=lo
if [ "$OS" = "Darwin" ] ; then
if [ "$OS" = "Darwin" ] || [ "$OS" = "SunOS" ] ; then
IF=lo0
fi
# if set, 1st argument is network interface