diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2002-09-15 04:23:20 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2002-09-15 04:23:20 +0000 |
commit | 7deb8a7ddd4693fef8940268a30a3927bfa104e6 (patch) | |
tree | cd6f170ff90f26885247cdc37745e2507f189152 /lib/libc/net/res_update.c | |
parent | 028e9e59021100fdff1428712c2318ec5f1ac1d1 (diff) | |
download | src-7deb8a7ddd4693fef8940268a30a3927bfa104e6.tar.gz src-7deb8a7ddd4693fef8940268a30a3927bfa104e6.zip |
Backout the increase of MAXPACKET from 1024 to 65536: it
broke pthreads.
Reported by: mbr, tjr
Notes
Notes:
svn path=/head/; revision=103335
Diffstat (limited to 'lib/libc/net/res_update.c')
-rw-r--r-- | lib/libc/net/res_update.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/net/res_update.c b/lib/libc/net/res_update.c index 0dac1ba4aa2e..f17374f08502 100644 --- a/lib/libc/net/res_update.c +++ b/lib/libc/net/res_update.c @@ -51,7 +51,6 @@ __FBSDID("$FreeBSD$"); */ #define NSMAX 16 -#define MAXPACKET 65536 struct ns1 { char nsname[MAXDNAME]; @@ -72,7 +71,7 @@ struct zonegrp { int res_update(ns_updrec *rrecp_in) { ns_updrec *rrecp, *tmprrecp; - u_char buf[PACKETSZ], answer[MAXPACKET], packet[2*PACKETSZ]; + u_char buf[PACKETSZ], answer[PACKETSZ], packet[2*PACKETSZ]; char name[MAXDNAME], zname[MAXDNAME], primary[MAXDNAME], mailaddr[MAXDNAME]; u_char soardata[2*MAXCDNAME+5*INT32SZ]; |