diff options
author | nectar <nectar@FreeBSD.org> | 2002-09-15 04:23:20 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2002-09-15 04:23:20 +0000 |
commit | a0732e9360e7fd21a2175f288c2e3b56ed4c425a (patch) | |
tree | cd6f170ff90f26885247cdc37745e2507f189152 /lib/libc/net/name6.c | |
parent | cff87abbac5243f0a34923de8c9a99a54a663adb (diff) | |
download | FreeBSD-src-a0732e9360e7fd21a2175f288c2e3b56ed4c425a.zip FreeBSD-src-a0732e9360e7fd21a2175f288c2e3b56ed4c425a.tar.gz |
Backout the increase of MAXPACKET from 1024 to 65536: it
broke pthreads.
Reported by: mbr, tjr
Diffstat (limited to 'lib/libc/net/name6.c')
-rw-r--r-- | lib/libc/net/name6.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/net/name6.c b/lib/libc/net/name6.c index 89b374c..d80f9c2 100644 --- a/lib/libc/net/name6.c +++ b/lib/libc/net/name6.c @@ -967,7 +967,11 @@ struct __res_type_list { int rtl_type; }; -#define MAXPACKET 65536 +#if PACKETSZ > 1024 +#define MAXPACKET PACKETSZ +#else +#define MAXPACKET 1024 +#endif typedef union { HEADER hdr; |