summaryrefslogtreecommitdiffstats
path: root/lib/bind9
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2008-09-01 20:53:25 +0000
committerdougb <dougb@FreeBSD.org>2008-09-01 20:53:25 +0000
commit6391cf1904f97dca07bdcd4495e134bd220885a9 (patch)
tree00951e23479d720f88789ce68ce281d7f6f81024 /lib/bind9
parenta4287a72036a67b2164527881f632676f934c664 (diff)
downloadFreeBSD-src-6391cf1904f97dca07bdcd4495e134bd220885a9.zip
FreeBSD-src-6391cf1904f97dca07bdcd4495e134bd220885a9.tar.gz
Vendor import of BIND 9.4.2-P2
Diffstat (limited to 'lib/bind9')
-rw-r--r--lib/bind9/check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bind9/check.c b/lib/bind9/check.c
index 01d67b7..6cfdc93 100644
--- a/lib/bind9/check.c
+++ b/lib/bind9/check.c
@@ -1015,10 +1015,10 @@ check_zoneconf(const cfg_obj_t *zconfig, const cfg_obj_t *voptions,
isc_buffer_add(&b, strlen(zname));
tresult = dns_name_fromtext(dns_fixedname_name(&fixedname), &b,
dns_rootname, ISC_TRUE, NULL);
- if (tresult != ISC_R_SUCCESS) {
+ if (result != ISC_R_SUCCESS) {
cfg_obj_log(zconfig, logctx, ISC_LOG_ERROR,
"zone '%s': is not a valid name", zname);
- result = ISC_R_FAILURE;
+ tresult = ISC_R_FAILURE;
} else {
char namebuf[DNS_NAME_FORMATSIZE];
OpenPOWER on IntegriCloud