aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-DNS/files
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-12-20 21:45:10 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-12-20 21:45:10 +0000
commite220af24429d29817458c3f262d0fac02f69b160 (patch)
tree4728f64e37a53a97ba42a2246c1b9c3557d1dff2 /net/p5-Net-DNS/files
parent53ce17e5ae376ba74f77578062a4e41fe9adef4c (diff)
downloadports-e220af24429d29817458c3f262d0fac02f69b160.tar.gz
ports-e220af24429d29817458c3f262d0fac02f69b160.zip
Notes
Diffstat (limited to 'net/p5-Net-DNS/files')
-rw-r--r--net/p5-Net-DNS/files/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/p5-Net-DNS/files/patch-aa b/net/p5-Net-DNS/files/patch-aa
new file mode 100644
index 000000000000..8fba787cc0bf
--- /dev/null
+++ b/net/p5-Net-DNS/files/patch-aa
@@ -0,0 +1,14 @@
+--- lib/Net/DNS/Resolver.pm.bak Thu Oct 2 09:32:14 1997
++++ lib/Net/DNS/Resolver.pm Fri Dec 21 00:20:11 2001
+@@ -244,7 +244,10 @@
+ }
+
+ sub nextid {
+- return $global{"id"}++;
++ if (++$global{"id"} > 65535) {
++ $global{"id"} = 0;
++ }
++ return $global{"id"};
+ }
+
+ =head2 searchlist