mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-16 16:07:30 +00:00
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…
x
Reference in New Issue
Block a user