use interface lo0 under solaris
This commit is contained in:
parent
bab8737dce
commit
3e80385941
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
OS=`uname -s`
|
OS=`uname -s`
|
||||||
IF=lo
|
IF=lo
|
||||||
if [ "$OS" = "Darwin" ] ; then
|
if [ "$OS" = "Darwin" ] || [ "$OS" = "SunOS" ] ; then
|
||||||
IF=lo0
|
IF=lo0
|
||||||
fi
|
fi
|
||||||
# if set, 1st argument is network interface
|
# if set, 1st argument is network interface
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
OS=`uname -s`
|
OS=`uname -s`
|
||||||
IF=lo
|
IF=lo
|
||||||
if [ "$OS" = "Darwin" ] ; then
|
if [ "$OS" = "Darwin" ] || [ "$OS" = "SunOS" ] ; then
|
||||||
IF=lo0
|
IF=lo0
|
||||||
fi
|
fi
|
||||||
# if set, 1st argument is network interface
|
# if set, 1st argument is network interface
|
||||||
|
|
Loading…
Reference in New Issue