From b22ae8ba2d5a6556cf7baac9300e8d4031079145 Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Thu, 9 Sep 2004 17:39:47 +0000 Subject: [PATCH] Add the macro RES_DFLRETRY long-promised by resolver(5). It specifies the default number of retries per a name server. This makes the code consistent with the manpage and allows to kill another constant in res_init.c that should have been a #define'd parameter. (This appears to be a case when the manpage was better than the code, so the latter was to be fixed.) PR: bin/62139 (in the audit trail) --- include/resolv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/resolv.h b/include/resolv.h index 800f73c51da2..f9f8de1ad926 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -92,6 +92,7 @@ #define LOCALDOMAINPARTS 2 /* min levels in name that is "local" */ #define RES_TIMEOUT 5 /* min. seconds between retries */ +#define RES_DFLRETRY 4 /* retries per each name server */ #define MAXRESOLVSORT 10 /* number of net to sort on */ #define RES_MAXNDOTS 15 /* should reflect bit field size */ #define RES_MAXRETRANS 30 /* only for resolv.conf/RES_OPTIONS */