From e1618f7fe222b508f07ce05b65cbb46154c4d52e Mon Sep 17 00:00:00 2001 From: yar Date: Thu, 9 Sep 2004 17:39:47 +0000 Subject: 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 800f73c..f9f8de1 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 */ -- cgit v1.1