miniupnpd/genconfig.sh: check net.ipv6.bindv6only under LINUX

This commit is contained in:
Thomas Bernard 2014-12-04 11:23:56 +01:00
parent a509abb371
commit 3b71766493
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,7 @@
$Id: Changelog.txt,v 1.384 2014/11/28 13:18:56 nanard Exp $ $Id: Changelog.txt,v 1.385 2014/12/04 10:21:32 nanard Exp $
2014/12/04:
check "sysctl -n net.ipv6.bindv6only" for linux
2014/11/28: 2014/11/28:
fixes ExecuteSoapAction if SoapAction value is not enclosed into fixes ExecuteSoapAction if SoapAction value is not enclosed into

View File

@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
# $Id: genconfig.sh,v 1.74 2014/04/09 07:21:00 nanard Exp $ # $Id: genconfig.sh,v 1.77 2014/12/04 10:21:33 nanard Exp $
# miniupnp daemon # miniupnp daemon
# http://miniupnp.free.fr or http://miniupnp.tuxfamily.org/ # http://miniupnp.free.fr or http://miniupnp.tuxfamily.org/
# (c) 2006-2014 Thomas Bernard # (c) 2006-2014 Thomas Bernard
@ -249,6 +249,7 @@ case $OS_NAME in
fi fi
echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE}
FW=netfilter FW=netfilter
V6SOCKETS_ARE_V6ONLY=`/sbin/sysctl -n net.ipv6.bindv6only`
;; ;;
OpenWRT) OpenWRT)
OS_URL=http://www.openwrt.org/ OS_URL=http://www.openwrt.org/