summaryrefslogtreecommitdiff
path: root/dns/p5-Net-DNS/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dns/p5-Net-DNS/files/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/dns/p5-Net-DNS/files/patch-aa b/dns/p5-Net-DNS/files/patch-aa
new file mode 100644
index 000000000000..8fba787cc0bf
--- /dev/null
+++ b/dns/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