From 8fde9568cc9dc8283b4bbbd635c2c49f40ff541c Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Wed, 23 Sep 2015 18:20:13 +0200 Subject: [PATCH] make it work with Darwin (Mac OS X) --- miniupnpd/testgetifaddr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniupnpd/testgetifaddr.sh b/miniupnpd/testgetifaddr.sh index f243186..e61afd0 100755 --- a/miniupnpd/testgetifaddr.sh +++ b/miniupnpd/testgetifaddr.sh @@ -3,7 +3,7 @@ OS=`uname -s` case $OS in - OpenBSD) + OpenBSD | Darwin) NS="`which netstat`" || exit 1 IFCONFIG="`which ifconfig`" || exit 1 EXTIF="`$NS -r -f inet | grep 'default' | awk '{ print $NF }' `" || exit 1