mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-19 09:09:36 -04:00
1670. [func] Log UPDATE requests to slave zones without an acl as
"disabled" at debug level 3. [RT# 11657]
This commit is contained in:
parent
3aa419673c
commit
029f8dce4d
2 changed files with 10 additions and 4 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
1670. [func] Log UPDATE requests to slave zones without an acl as
|
||||
"disabled" at debug level 3. [RT# 11657]
|
||||
|
||||
1668. [bug] DIG_SIGCHASE was making bin/dig/host dump core.
|
||||
|
||||
1667. [port] linux: not all versions have IF_NAMESIZE.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: update.c,v 1.109.18.4 2004/06/04 03:45:45 marka Exp $ */
|
||||
/* $Id: update.c,v 1.109.18.5 2004/06/21 00:42:36 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -247,9 +247,12 @@ checkupdateacl(ns_client_t *client, dns_acl_t *acl, const char *message,
|
|||
const char *msg = "denied";
|
||||
isc_result_t result;
|
||||
|
||||
if (slave && acl == NULL)
|
||||
return (DNS_R_NOTIMP);
|
||||
result = ns_client_checkaclsilent(client, acl, ISC_FALSE);
|
||||
if (slave && acl == NULL) {
|
||||
result = DNS_R_NOTIMP;
|
||||
level = ISC_LOG_DEBUG(3);
|
||||
msg = "disabled";
|
||||
} else
|
||||
result = ns_client_checkaclsilent(client, acl, ISC_FALSE);
|
||||
|
||||
if (result == ISC_R_SUCCESS) {
|
||||
level = ISC_LOG_DEBUG(3);
|
||||
|
|
|
|||
Loading…
Reference in a new issue