miniupnpd/testgetifaddr.sh: fix for FreeBSD
This commit is contained in:
parent
15cd905f6f
commit
772c70ee41
|
@ -3,7 +3,7 @@
|
|||
|
||||
OS=`uname -s`
|
||||
case $OS in
|
||||
OpenBSD | Darwin | SunOS)
|
||||
FreeBSD | OpenBSD | Darwin | SunOS)
|
||||
NS="`which netstat`" || exit 1
|
||||
IFCONFIG="`which ifconfig`" || exit 1
|
||||
EXTIF="`$NS -r -f inet | grep 'default' | awk '{ print $NF }' `" || exit 1
|
||||
|
|
Loading…
Reference in New Issue