2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Merge branch 'u/fanf2/restore-nsid-logging' into 'master'

Fix request-nsid log level to match documentation.

See merge request isc-projects/bind9!290
This commit is contained in:
Mark Andrews 2018-05-16 23:49:25 -04:00
commit 7a8f04b826
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
4948. [bug] When request-nsid is turned on, EDNS NSID options
should be logged at level info. Since change 3741
they have been logged at debug(3) by mistake.
[GL !290]
4947. [func] Replace all random functions with isc_random(),
isc_random_buf() and isc_random_uniform() API.
[GL #221]

View File

@ -7618,7 +7618,7 @@ rctx_opt(respctx_t *rctx) {
DNS_FETCHOPT_WANTNSID) != 0)
{
log_nsid(&optbuf, optlen, query,
ISC_LOG_DEBUG(3),
ISC_LOG_INFO,
fctx->res->mctx);
}
isc_buffer_forward(&optbuf, optlen);