net.inet6.ip6.v6only, 1 by default, has been removed on DragonFly

Build on DragonFly with ENABLE_IPV6 defined has been broken unless
this sysctl node is turned off.  Since we cannot turn it off now and
it's been that way for almost 2 years, simply treat it as 1.

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2fd1df03f3071b4559ce3bbe36924b2305631edd

Signed-off-by: YONETANI Tomokazu <y0n3t4n1@gmail.com>
This commit is contained in:
YONETANI Tomokazu 2016-07-23 15:08:32 +09:00
parent 07ae540724
commit 18e9a376c7
1 changed files with 3 additions and 0 deletions

View File

@ -234,6 +234,9 @@ case $OS_NAME in
fi
echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE}
echo "#define PFRULE_INOUT_COUNTS" >> ${CONFIGFILE}
# net.inet6.ip6.v6only has been on by default for many years
# and this sysctl node has been removed
V6SOCKETS_ARE_V6ONLY=1
OS_URL=http://www.dragonflybsd.org/
;;
SunOS)