Package: libio-socket-inet6-perl
Version: 2.65-1
Severity: important

Prior versions of IO::Socket::INET6 used domain AF_UNSPEC unless
a domain was explicitly provided. This lead many other libraries
(e.g. libnet-dns-perl, libio-socket-ssl-perl, probably more) to
use IO::Socket::INET6 instead of IO::Socket::INET, assuming they'll
get the best of both that way.

The Documentation still suggests, that "AF_UNSPEC" was used as
default value for parameter "Domain". 
In current versions this is not true anymore:
IO::Socket::INET6:new will now try to create an AF_INET6 socket
unless explicitly told otherwise.

This behavior also has a certain point to it (the module carries
"INET6" in it's name) but unfortunately, as a side effect this change
breaks all programs that indirectly (via any of the libraries
mentioned above) depend on IO::Socket::INET6 and run on a system
without ipv6 ("new" will inevitably fail with "Address family not
supported by protocol".

The simplest way to fix this problem is to just restore the previous
default (Domain AF_UNSPEC). Another possibility would be to first
try ipv6 but if this fails and ipv6 was not explicitly requested
fall back to ipv4 instead.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to