freebsd-ports/net/mtr/files/patch-02
Bill Fenner f044a284ce Update to 0.41
PR:		ports/13681
Submitted by:	Gianmarco Giovannelli <gmarco@giovannelli.it>
1999-09-10 16:29:35 +00:00

12 lines
401 B
Plaintext

--- 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.");