aboutsummaryrefslogtreecommitdiff
path: root/validator/validator.h
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-08-16 23:55:17 +0000
committerCy Schubert <cy@FreeBSD.org>2021-08-16 23:57:03 +0000
commit625f1c1312fb7defbd148c8ba121a0cf058707ef (patch)
tree31510b9372850c8a8dd3e0a8dac37308308d8429 /validator/validator.h
parentd60fa10fd872db7e3d8cb1e161cfdae026c43b14 (diff)
unbound: Vendor import 1.13.2vendor/unbound/1.13.2
Diffstat (limited to 'validator/validator.h')
-rw-r--r--validator/validator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/validator/validator.h b/validator/validator.h
index 35da1920aa39..a928e10a65d8 100644
--- a/validator/validator.h
+++ b/validator/validator.h
@@ -64,9 +64,6 @@ struct config_strlist;
*/
#define BOGUS_KEY_TTL 60 /* seconds */
-/** max number of query restarts, number of IPs to probe */
-#define VAL_MAX_RESTART_COUNT 5
-
/** Root key sentinel is ta preamble */
#define SENTINEL_IS "root-key-sentinel-is-ta-"
/** Root key sentinel is not ta preamble */
@@ -95,6 +92,9 @@ struct val_env {
/** clock skew max for signatures */
int32_t skew_max;
+ /** max number of query restarts, number of IPs to probe */
+ int32_t max_restart;
+
/** TTL for bogus data; used instead of untrusted TTL from data.
* Bogus data will not be verified more often than this interval.
* seconds. */