diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2017-06-15 12:30:05 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2017-06-15 12:30:05 +0100 |
commit | 272643d0694092346c0cce4acc9e46d6657028ab (patch) | |
tree | c9b5b96e66cbee3854ee69987c8b17eb8ae986c9 | |
parent | b3452811f8922b43b170b4acf9945a0a9d3563dc (diff) | |
download | perl-272643d0694092346c0cce4acc9e46d6657028ab.tar.gz |
Update IO-Socket-IP to CPAN version 0.39
[DELTA]
0.39 2017/03/06 16:40:30
[BUGFIXES]
* Handle EOPNOTSUPP in resposne of efforts to disable V6ONLY
(RT119780) (thanks XENU)
-rwxr-xr-x | Porting/Maintainers.pl | 2 | ||||
-rw-r--r-- | cpan/IO-Socket-IP/lib/IO/Socket/IP.pm | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index c8bdba6f00..0ffb4c3ce8 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -618,7 +618,7 @@ use File::Glob qw(:case); }, 'IO::Socket::IP' => { - 'DISTRIBUTION' => 'PEVANS/IO-Socket-IP-0.38.tar.gz', + 'DISTRIBUTION' => 'PEVANS/IO-Socket-IP-0.39.tar.gz', 'FILES' => q[cpan/IO-Socket-IP], 'EXCLUDED' => [ qr{^examples/}, diff --git a/cpan/IO-Socket-IP/lib/IO/Socket/IP.pm b/cpan/IO-Socket-IP/lib/IO/Socket/IP.pm index 1bf6b0ea89..5a5ee7d204 100644 --- a/cpan/IO-Socket-IP/lib/IO/Socket/IP.pm +++ b/cpan/IO-Socket-IP/lib/IO/Socket/IP.pm @@ -7,7 +7,7 @@ package IO::Socket::IP; # $VERSION needs to be set before use base 'IO::Socket' # - https://rt.cpan.org/Ticket/Display.html?id=92107 BEGIN { - $VERSION = '0.38'; + $VERSION = '0.39'; } use strict; @@ -31,7 +31,7 @@ use Socket 1.97 qw( my $AF_INET6 = eval { Socket::AF_INET6() }; # may not be defined my $AI_ADDRCONFIG = eval { Socket::AI_ADDRCONFIG() } || 0; use POSIX qw( dup2 ); -use Errno qw( EINVAL EINPROGRESS EISCONN ENOTCONN ETIMEDOUT EWOULDBLOCK ); +use Errno qw( EINVAL EINPROGRESS EISCONN ENOTCONN ETIMEDOUT EWOULDBLOCK EOPNOTSUPP ); use constant HAVE_MSWIN32 => ( $^O eq "MSWin32" ); @@ -154,7 +154,7 @@ sub import if( setsockopt $testsock, IPPROTO_IPV6, IPV6_V6ONLY, 0 ) { return $can_disable_v6only = 1; } - elsif( $! == EINVAL ) { + elsif( $! == EINVAL || $! == EOPNOTSUPP ) { return $can_disable_v6only = 0; } else { |