mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-01 20:39:38 -05:00
- Fix typos in config_set_option for the 'num-threads' and
'ede-serve-expired' options.
This commit is contained in:
parent
f73e548934
commit
7e506bb477
2 changed files with 6 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
18 May 2022: George
|
||||
- Fix typos in config_set_option for the 'num-threads' and
|
||||
'ede-serve-expired' options.
|
||||
|
||||
15 May 2022: George
|
||||
- Fix #678: [FR] modify behaviour of unbound-control rpz_enable zone,
|
||||
by updating unbound-control's documentation.
|
||||
|
|
|
|||
|
|
@ -479,7 +479,7 @@ int config_set_option(struct config_file* cfg, const char* opt,
|
|||
else if(atoi(val) == 0)
|
||||
return 0;
|
||||
else cfg->stat_interval = atoi(val);
|
||||
} else if(strcmp(opt, "num_threads:") == 0) {
|
||||
} else if(strcmp(opt, "num-threads:") == 0) {
|
||||
/* not supported, library must have 1 thread in bgworker */
|
||||
return 0;
|
||||
} else if(strcmp(opt, "outgoing-port-permit:") == 0) {
|
||||
|
|
@ -674,7 +674,7 @@ int config_set_option(struct config_file* cfg, const char* opt,
|
|||
{ IS_NUMBER_OR_ZERO; cfg->serve_expired_reply_ttl = atoi(val); SERVE_EXPIRED_REPLY_TTL=(time_t)cfg->serve_expired_reply_ttl;}
|
||||
else S_NUMBER_OR_ZERO("serve-expired-client-timeout:", serve_expired_client_timeout)
|
||||
else S_YNO("ede:", ede)
|
||||
else S_YNO("ede_serve-expired:", ede_serve_expired)
|
||||
else S_YNO("ede-serve-expired:", ede_serve_expired)
|
||||
else S_YNO("serve-original-ttl:", serve_original_ttl)
|
||||
else S_STR("val-nsec3-keysize-iterations:", val_nsec3_key_iterations)
|
||||
else S_YNO("zonemd-permissive-mode:", zonemd_permissive_mode)
|
||||
|
|
|
|||
Loading…
Reference in a new issue