fixes testgetifaddr.sh for Solaris

This commit is contained in:
Thomas Bernard 2016-11-11 09:44:45 -05:00
parent 77968a09d9
commit d9fdb58a05
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
OS=`uname -s` OS=`uname -s`
case $OS in case $OS in
OpenBSD | Darwin) OpenBSD | Darwin | SunOS)
NS="`which netstat`" || exit 1 NS="`which netstat`" || exit 1
IFCONFIG="`which ifconfig`" || exit 1 IFCONFIG="`which ifconfig`" || exit 1
EXTIF="`$NS -r -f inet | grep 'default' | awk '{ print $NF }' `" || exit 1 EXTIF="`$NS -r -f inet | grep 'default' | awk '{ print $NF }' `" || exit 1