Skip to content

Commit

Permalink
minissdpd/testminissdpd.sh: test under OpenBSD and FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
miniupnp committed Apr 21, 2017
1 parent af5c091 commit 7a6b7fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions minissdpd/testminissdpd.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/sh
# $Id: testminissdpd.sh,v 1.2 2015/09/03 18:31:25 nanard Exp $
# (c) 2016 Thomas Bernard
# $Id: testminissdpd.sh,v 1.8 2017/04/21 11:57:59 nanard Exp $
# (c) 2017 Thomas Bernard

OS=`uname -s`
IF=lo
if [ "$OS" = "Darwin" ] || [ "$OS" = "SunOS" ] ; then
if [ "$OS" = "Darwin" ] || [ "$OS" = "OpenBSD" ] || [ "$OS" = "SunOS" ] || [ "$OS" = "FreeBSD" ] ; then
IF=lo0
fi
# if set, 1st argument is network interface
Expand Down

0 comments on commit 7a6b7fe

Please sign in to comment.