about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--resolv/nss_dns/dns-network.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/resolv/nss_dns/dns-network.c b/resolv/nss_dns/dns-network.c
index 88166531b3..774c868d2f 100644
--- a/resolv/nss_dns/dns-network.c
+++ b/resolv/nss_dns/dns-network.c
@@ -70,10 +70,10 @@
 #define MAX_NR_ALIASES	48
 
 
-#if PACKETSZ > 1024
-#define MAXPACKET       PACKETSZ
+#if PACKETSZ > 65536
+# define MAXPACKET	PACKETSZ
 #else
-#define MAXPACKET       1024
+# define MAXPACKET	65536
 #endif