2756. [bug] Fixed corrupt logfile message in update.c. [RT# 20597]

This commit is contained in:
Evan Hunt
2009-11-09 01:28:32 +00:00
parent 2d46d268cc
commit e2facd7af2
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
2756. [bug] Fixed corrupt logfile message in update.c. [RT# 20597]
2755. [placeholder]
2754. [bug] Secure-to-insecure transitions failed when zone

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: update.c,v 1.167 2009/11/06 08:38:56 each Exp $ */
/* $Id: update.c,v 1.168 2009/11/09 01:28:32 each Exp $ */
#include <config.h>
@@ -310,6 +310,10 @@ checkqueryacl(ns_client_t *client, dns_acl_t *queryacl, dns_name_t *zonename,
"update '%s/%s' denied due to allow-query",
namebuf, classbuf);
} else if (updateacl == NULL && ssutable == NULL) {
dns_name_format(zonename, namebuf, sizeof(namebuf));
dns_rdataclass_format(client->view->rdclass, classbuf,
sizeof(classbuf));
result = DNS_R_REFUSED;
ns_client_log(client, NS_LOGCATEGORY_UPDATE_SECURITY,
NS_LOGMODULE_UPDATE, ISC_LOG_INFO,