summaryrefslogtreecommitdiff
path: root/net/mtr/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/mtr/patches/patch-ab')
-rw-r--r--net/mtr/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/mtr/patches/patch-ab b/net/mtr/patches/patch-ab
new file mode 100644
index 00000000000..6fb042958c1
--- /dev/null
+++ b/net/mtr/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2001/04/05 15:18:09 wiz Exp $
+
+--- dns.c.orig Wed Jun 9 11:09:20 1999
++++ dns.c Tue Aug 10 01:21:12 1999
+@@ -751,7 +751,7 @@
+ void dorequest(char *s,int type,word id){
+ packetheader *hp;
+ int r,i;
+- int buf[(MaxPacketsize/sizeof (int))+1];
++ unsigned char buf[MaxPacketsize];
+ r = res_mkquery(QUERY,s,C_IN,type,NULL,0,NULL,buf,MaxPacketsize);
+ if (r == -1){
+ restell("Resolver error: Query too large.");