The following reply was made to PR lib/52382; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: Joerg Sonnenberger <joerg%bec.de@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost, joel.bertrand%systella.fr@localhost
Subject: Re: lib/52382: Sockets that only listen on inet6 domain
Date: Mon, 10 Jul 2017 00:36:40 +0700
Date: Sun, 9 Jul 2017 19:10:35 +0200
From: Joerg Sonnenberger <joerg=40bec.de>
Message-ID: <20170709171035.GA1214=40britannica.bec.de>
=7C A program that really wants to use the same socket for both *must*
=7C set ipv6only to 0 via the appropiate setsockopt call.
Either that or:
sysctl -w net.inet6.ip6.v6only=3D0
which it is possible that Joel has in NetBSD 7 but not in NetBSD 6
But Joerg is correct, this has never been the NetBSD default.
kre