This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f175cff
)
IO::Socket::INET unnecessarily resolves "udp"
author
Niko Tyni
<ntyni@debian.org>
Mon, 24 Mar 2008 23:32:24 +0000
(
01:32
+0200)
committer
H.Merijn Brand
<h.m.brand@xs4all.nl>
Tue, 25 Mar 2008 07:33:21 +0000
(07:33 +0000)
Message-Id: <
1206394344
-30835-1-git-send-email-ntyni@debian.org>
p4raw-id: //depot/perl@33554
ext/IO/lib/IO/Socket/INET.pm
patch
|
blob
|
blame
|
history
diff --git
a/ext/IO/lib/IO/Socket/INET.pm
b/ext/IO/lib/IO/Socket/INET.pm
index
f8bb338
..
2f0e5d1
100644
(file)
--- a/
ext/IO/lib/IO/Socket/INET.pm
+++ b/
ext/IO/lib/IO/Socket/INET.pm
@@
-27,7
+27,7
@@
my %socket_type = ( tcp => SOCK_STREAM,
);
my %proto_number;
$proto_number{tcp} = Socket::IPPROTO_TCP() if defined &Socket::IPPROTO_TCP;
-$proto_number{u
pd
} = Socket::IPPROTO_UDP() if defined &Socket::IPPROTO_UDP;
+$proto_number{u
dp
} = Socket::IPPROTO_UDP() if defined &Socket::IPPROTO_UDP;
$proto_number{icmp} = Socket::IPPROTO_ICMP() if defined &Socket::IPPROTO_ICMP;
my %proto_name = reverse %proto_number;