mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
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)
This commit is contained in:
parent
0e168c1514
commit
b22ae8ba2d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134999
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user