--- a/usr/src/cmd/ntpd/Patches/dnsretry.patch Thu Aug 05 23:45:52 2010 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
---- ntpd/ntp_intres.c.orig Thu May 14 06:34:41 2009
-+++ ntpd/ntp_intres.c Thu May 14 06:15:12 2009
-@@ -96,6 +96,7 @@
- static volatile int resolve_timer = 0;
-
- static int resolve_value; /* next value of resolve timer */
-+static int maxresattempts = 7;
-
- /*
- * Big hack attack
-@@ -276,6 +277,7 @@
-
- /* prepare retry, in case there's more work to do */
- resolve_timer = resolve_value;
-+ maxresattempts--;
- #ifdef DEBUG
- if (debug > 2)
- msyslog(LOG_INFO, "resolve_timer: 0->%d", resolve_timer);
-@@ -554,11 +556,7 @@
- case EAI_AGAIN:
- return (1);
- case EAI_NONAME:
--#ifndef FORCE_DNSRETRY
-- return (0);
--#else
-- return (1);
--#endif
-+ return((maxresattempts > 0));
- #if defined(EAI_NODATA) && (EAI_NODATA != EAI_NONAME)
- case EAI_NODATA:
- #endif