From: Gisle Aas Date: Thu, 3 Feb 2005 03:16:46 +0000 (-0800) Subject: Re: Bug in Socket::IO::INET Version 1.27 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b2118e7e233f26626887786dffd133bfb7222840;p=p5sagit%2Fp5-mst-13.2.git Re: Bug in Socket::IO::INET Version 1.27 Message-ID: p4raw-id: //depot/perl@23981 --- diff --git a/ext/IO/lib/IO/Socket/INET.pm b/ext/IO/lib/IO/Socket/INET.pm index ce3435f..6e4c32c 100644 --- a/ext/IO/lib/IO/Socket/INET.pm +++ b/ext/IO/lib/IO/Socket/INET.pm @@ -132,7 +132,7 @@ sub configure { $proto ||= (getprotobyname('tcp'))[2]; my $pname = (getprotobynumber($proto))[0]; - $type = $arg->{Type} || $socket_type{$pname}; + $type = $arg->{Type} || $socket_type{lc $pname}; my @raddr = ();