summaryrefslogtreecommitdiff
path: root/lib/libc/net/getnetbydns.c
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2002-09-13 20:31:29 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2002-09-13 20:31:29 +0000
commit2e4dbbaa930e32c8768110b5888ed88c61c417a3 (patch)
tree4abdf8e587e50c215c8768bca481fe102ec47c16 /lib/libc/net/getnetbydns.c
parent8b10ca9ba94d9b6c1031c5c006df3011fcc8b058 (diff)
Notes
Diffstat (limited to 'lib/libc/net/getnetbydns.c')
-rw-r--r--lib/libc/net/getnetbydns.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/net/getnetbydns.c b/lib/libc/net/getnetbydns.c
index 369bf2b3ad48..c463176a9b31 100644
--- a/lib/libc/net/getnetbydns.c
+++ b/lib/libc/net/getnetbydns.c
@@ -88,11 +88,7 @@ extern int h_errno;
#define BYNAME 1
#define MAXALIASES 35
-#if PACKETSZ > 1024
-#define MAXPACKET PACKETSZ
-#else
-#define MAXPACKET 1024
-#endif
+#define MAXPACKET 65536
typedef union {
HEADER hdr;