diff options
Diffstat (limited to 'contrib/unbound/util/config_file.c')
| -rw-r--r-- | contrib/unbound/util/config_file.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/unbound/util/config_file.c b/contrib/unbound/util/config_file.c index 1820e1dcd91b..8bbb428290c1 100644 --- a/contrib/unbound/util/config_file.c +++ b/contrib/unbound/util/config_file.c @@ -421,6 +421,7 @@ config_create(void)  	cfg->dns_error_reporting = 0;  	cfg->iter_scrub_ns = 20;  	cfg->iter_scrub_cname = 11; +	cfg->iter_scrub_promiscuous = 1;  	cfg->max_global_quota = 200;  	return cfg;  error_exit: @@ -765,6 +766,7 @@ int config_set_option(struct config_file* cfg, const char* opt,  	else S_YNO("dns-error-reporting:", dns_error_reporting)  	else S_NUMBER_OR_ZERO("iter-scrub-ns:", iter_scrub_ns)  	else S_NUMBER_OR_ZERO("iter-scrub-cname:", iter_scrub_cname) +	else S_YNO("iter-scrub-promiscuous:", iter_scrub_promiscuous)  	else S_NUMBER_OR_ZERO("max-global-quota:", max_global_quota)  	else S_YNO("serve-original-ttl:", serve_original_ttl)  	else S_STR("val-nsec3-keysize-iterations:", val_nsec3_key_iterations) @@ -1241,6 +1243,7 @@ config_get_option(struct config_file* cfg, const char* opt,  	else O_YNO(opt, "dns-error-reporting", dns_error_reporting)  	else O_DEC(opt, "iter-scrub-ns", iter_scrub_ns)  	else O_DEC(opt, "iter-scrub-cname", iter_scrub_cname) +	else O_YNO(opt, "iter-scrub-promiscuous", iter_scrub_promiscuous)  	else O_DEC(opt, "max-global-quota", max_global_quota)  	else O_YNO(opt, "serve-original-ttl", serve_original_ttl)  	else O_STR(opt, "val-nsec3-keysize-iterations",val_nsec3_key_iterations)  | 
