diff options
| author | Mathieu Arnold <mat@FreeBSD.org> | 2004-02-25 12:20:41 +0000 |
|---|---|---|
| committer | Mathieu Arnold <mat@FreeBSD.org> | 2004-02-25 12:20:41 +0000 |
| commit | 757e3af17957af6ce6af0c2f7407cf377328383e (patch) | |
| tree | 74daaa712c946165048ce6d1ad0af8beb4dfd171 /net/p5-IO-Socket-INET6/files/5.005_03.diff | |
| parent | mark FORBIDDEN: SQL injection vulnerability in Php-Nuke <= 7.1.0 (diff) | |
Update to 2.01
PR: 62689
Submitted by: maintainer
Diffstat (limited to 'net/p5-IO-Socket-INET6/files/5.005_03.diff')
| -rw-r--r-- | net/p5-IO-Socket-INET6/files/5.005_03.diff | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net/p5-IO-Socket-INET6/files/5.005_03.diff b/net/p5-IO-Socket-INET6/files/5.005_03.diff new file mode 100644 index 000000000000..03f3cc9ffa4f --- /dev/null +++ b/net/p5-IO-Socket-INET6/files/5.005_03.diff @@ -0,0 +1,29 @@ +--- INET6.pm.orig Tue Jun 24 14:14:26 2003 ++++ INET6.pm Wed Jul 2 21:33:28 2003 +@@ -10,7 +10,7 @@ + package IO::Socket::INET6; + + use strict; +-our(@ISA, $VERSION); ++use vars qw(@ISA $VERSION); + use IO::Socket; + use Socket6; + use Carp; +@@ -20,7 +20,7 @@ + @ISA = qw(IO::Socket); + $VERSION = "1.27"; + +-my $EINVAL = exists(&Errno::EINVAL) ? Errno::EINVAL() : 1; ++my $EINVAL = defined(&Errno::EINVAL) ? Errno::EINVAL() : 1; + + IO::Socket::INET6->register_domain( AF_INET6 ); + +@@ -183,7 +183,7 @@ + } + + if ($arg->{ReusePort}) { +- $sock->sockopt(SO_REUSEPORT,1) or ++ $sock->sockopt(0x0200,1) or + return _error($sock, $!, "$!"); + } + |
