summaryrefslogtreecommitdiff
path: root/lib/libc/net/res_query.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/res_query.c
parent8b10ca9ba94d9b6c1031c5c006df3011fcc8b058 (diff)
Notes
Diffstat (limited to 'lib/libc/net/res_query.c')
-rw-r--r--lib/libc/net/res_query.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libc/net/res_query.c b/lib/libc/net/res_query.c
index 4dde3e4d275e..e67258620a51 100644
--- a/lib/libc/net/res_query.c
+++ b/lib/libc/net/res_query.c
@@ -90,11 +90,7 @@ __FBSDID("$FreeBSD$");
#include "res_config.h"
-#if PACKETSZ > 1024
-#define MAXPACKET PACKETSZ
-#else
-#define MAXPACKET 1024
-#endif
+#define MAXPACKET 65536
/*
* Formulate a normal query, send, and await answer.