diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/IO/lib/IO/Socket/INET.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/IO/lib/IO/Socket/INET.pm b/ext/IO/lib/IO/Socket/INET.pm index ce3435fe06..6e4c32c78f 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 = (); |